This commit is contained in:
Niels Andriesse 2019-10-10 15:00:14 +11:00
parent 25f1405512
commit 871f629e64

View File

@ -2748,7 +2748,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
List<Tuple2<String, String>> users = LokiAPI.Companion.getUsers("", threadId, userDatabase); List<Tuple2<String, String>> users = LokiAPI.Companion.getUsers("", threadId, userDatabase);
mentionStartIndex = currentEndIndex + 1; mentionStartIndex = currentEndIndex + 1;
userSelectionView.show(users, threadId); userSelectionView.show(users, threadId);
} else if (!Character.isAlphabetic(lastCharacter) || !Character.isUpperCase(lastCharacter) || !Character.isLowerCase(lastCharacter)) { } else if (Character.getType(lastCharacter) != Character.UPPERCASE_LETTER && Character.getType(lastCharacter) != Character.LOWERCASE_LETTER) {
mentionStartIndex = -1; mentionStartIndex = -1;
userSelectionView.hide(); userSelectionView.hide();
} else { } else {