Merge pull request #3918 from nextcloud/bugfix/3897/fixTextOverwrittenByClipboard

Fix to not set clipboard text repeatedly
This commit is contained in:
Julius Linus 2024-05-17 09:36:06 -05:00 committed by GitHub
commit b2fe29d0cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1156,6 +1156,7 @@ class ChatActivity :
}
private fun initMessageInputView() {
if (binding.messageInputView.inputEditText?.filters?.isEmpty() == true) {
val filters = arrayOfNulls<InputFilter>(1)
val lengthFilter = CapabilitiesUtil.getMessageMaxLength(spreedCapabilities)
@ -1243,6 +1244,7 @@ class ChatActivity :
binding.messageInputView.button?.contentDescription =
resources?.getString(R.string.nc_description_send_message_button)
}
}
private fun editMessageAPI(message: ChatMessage, editedMessageText: String) {
var apiVersion = 1