From b18e81ae95a43ade9ca2f6c974234eaa245b5a4e Mon Sep 17 00:00:00 2001 From: Sorunome Date: Sat, 19 Dec 2020 16:37:28 +0100 Subject: [PATCH] fix: Have a space after mentions, making it consistent with @-completion --- lib/views/chat.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/views/chat.dart b/lib/views/chat.dart index 219012be..282b5806 100644 --- a/lib/views/chat.dart +++ b/lib/views/chat.dart @@ -546,7 +546,7 @@ class _ChatState extends State<_Chat> { user: room.getUserByMXIDSync( room.directChatMatrixID), onMention: () => sendController.text += - ' ${room.directChatMatrixID}', + '${room.directChatMatrixID} ', ), ) : () => Navigator.of(context).push( @@ -776,7 +776,7 @@ class _ChatState extends State<_Chat> { user: event.sender, onMention: () => sendController.text += - ' ${event.senderId}', + '${event.senderId} ', ), ), onSelect: (Event event) {