ComposeTokenizer: try to fix test 3

This commit is contained in:
Alibek Omarov 2020-10-05 23:31:17 +03:00
parent 7295ace378
commit 866e725d9c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class ComposeTokenizer : MultiAutoCompleteTextView.Tokenizer {
// don't ask me about this code
if(i > 3 && character == '@') {
var j = i - 1
var character2 = text[i - 1]
var character2 = text[i - 2]
while(j > 0 && character2 != '@') {
if(!isMentionOrHashtagAllowedCharacter(character2)) {