From e988308dc6d9969d198bfa8cabc43ec56f482ee2 Mon Sep 17 00:00:00 2001 From: David Langley Date: Wed, 21 Jun 2023 09:30:45 +0100 Subject: [PATCH] Add space after mention inserstion. --- .../home/room/detail/composer/MessageComposerFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerFragment.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerFragment.kt index 2b85fc482f..338a635818 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerFragment.kt @@ -800,6 +800,7 @@ class MessageComposerFragment : VectorBaseFragment(), A // Rich text editor is enabled so we need to use its APIs permalinkService.createPermalink(userId)?.let { url -> (composer as RichTextComposerLayout).insertMention(url, displayName) + composer.editText.append(" ") } } else { val pill = buildSpannedString {