Add space after mention inserstion.

This commit is contained in:
David Langley 2023-06-21 09:30:45 +01:00
parent 9d239bf94d
commit e988308dc6
1 changed files with 1 additions and 0 deletions

View File

@ -800,6 +800,7 @@ class MessageComposerFragment : VectorBaseFragment<FragmentComposerBinding>(), A
// Rich text editor is enabled so we need to use its APIs // Rich text editor is enabled so we need to use its APIs
permalinkService.createPermalink(userId)?.let { url -> permalinkService.createPermalink(userId)?.let { url ->
(composer as RichTextComposerLayout).insertMention(url, displayName) (composer as RichTextComposerLayout).insertMention(url, displayName)
composer.editText.append(" ")
} }
} else { } else {
val pill = buildSpannedString { val pill = buildSpannedString {