fix: Have a space after mentions, making it consistent with @-completion

This commit is contained in:
Sorunome 2020-12-19 16:37:28 +01:00
parent 631121ed23
commit b18e81ae95
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

View File

@ -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) {