🐛 Fix able send space message
This commit is contained in:
parent
8009f4ca9b
commit
4562c2f991
@ -134,7 +134,7 @@ class _ChatMessageInputState extends State<ChatMessageInput> {
|
|||||||
'uuid': uuid.v4(),
|
'uuid': uuid.v4(),
|
||||||
'type': _editTo == null ? 'messages.new' : 'messages.edit',
|
'type': _editTo == null ? 'messages.new' : 'messages.edit',
|
||||||
'body': {
|
'body': {
|
||||||
'text': _textController.text,
|
'text': _textController.text.trim(),
|
||||||
'algorithm': 'plain',
|
'algorithm': 'plain',
|
||||||
'attachments': List.from(_attachments),
|
'attachments': List.from(_attachments),
|
||||||
'related_users': [
|
'related_users': [
|
||||||
|
Loading…
Reference in New Issue
Block a user