From 6874cd5bfdb34f7024a1effaa9adc07c36674603 Mon Sep 17 00:00:00 2001 From: Kee Jefferys Date: Mon, 22 Jun 2020 14:05:12 +1000 Subject: [PATCH] Add mention blankspace --- .../securesms/conversation/ConversationActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java index b3446d3c85..cf01f88dc7 100644 --- a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java @@ -438,7 +438,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity mentionCandidateSelectionView.setOnMentionCandidateSelected( mentionCandidate -> { mentions.add(mentionCandidate); String oldText = composeText.getText().toString(); - String newText = oldText.substring(0, currentMentionStartIndex) + "@" + mentionCandidate.getDisplayName(); + String newText = oldText.substring(0, currentMentionStartIndex) + "@" + mentionCandidate.getDisplayName() + " "; composeText.setText(newText); composeText.setSelection(newText.length()); currentMentionStartIndex = -1;