fix(regression/cs2): issue where autocomplete doesnt complete

Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
Infi 2024-06-03 20:20:55 +02:00
parent a6fe65ea6b
commit 8049c29e38
1 changed files with 3 additions and 0 deletions

View File

@ -777,6 +777,9 @@ fun ChannelScreen(
},
forceSendButton = viewModel.draftAttachments.isNotEmpty(),
canAttach = (channelPermissions has PermissionBit.UploadFiles) && viewModel.editingMessage == null,
serverId = viewModel.channel?.server,
channelId = channelId,
failedValidation = viewModel.draftContent.length > 2000,
)
}
} else {