Merge branch 'soru/space-after-mention' into 'main'

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

Closes #204

See merge request ChristianPauly/fluffychat-flutter!315
This commit is contained in:
Sorunome 2020-12-19 19:25:16 +00:00
commit 377b06a462

View File

@ -559,7 +559,7 @@ class _ChatState extends State<_Chat> {
user: room.getUserByMXIDSync(
room.directChatMatrixID),
onMention: () => sendController.text +=
' ${room.directChatMatrixID}',
'${room.directChatMatrixID} ',
),
)
: () => Navigator.of(context).push(
@ -789,7 +789,7 @@ class _ChatState extends State<_Chat> {
user: event.sender,
onMention: () =>
sendController.text +=
' ${event.senderId}',
'${event.senderId} ',
),
),
onSelect: (Event event) {