Add space after mention inserstion.
This commit is contained in:
parent
9d239bf94d
commit
e988308dc6
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue