[FIX] Stop mention tracking when messagebox is empty (#957)

This commit is contained in:
Djorkaeff Alexandre 2019-06-03 13:56:16 -03:00 committed by Diego Mello
parent b28d79e644
commit bd9f4aa219
1 changed files with 2 additions and 0 deletions

View File

@ -199,6 +199,8 @@ class MessageBox extends Component {
}
const [, lastChar, name] = result;
this.identifyMentionKeyword(name, lastChar);
} else {
this.stopTrackingMention();
}
}, 100)