mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Trim text before sending it
This commit is contained in:
parent
3049ef743b
commit
86f5343317
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class ChatMessageSendingViewModel(private val chatRoom: ChatRoom) : ViewModel()
|
|||
|
||||
val toSend = textToSend.value
|
||||
if (toSend != null && toSend.isNotEmpty()) {
|
||||
message.addUtf8TextContent(toSend)
|
||||
message.addUtf8TextContent(toSend.trim())
|
||||
}
|
||||
|
||||
var fileContent = false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue