Fixed updating mention keys when a user's username changes (#2774)

This commit is contained in:
Harrison Healey
2016-04-25 08:20:45 -04:00
committed by Christopher Speller
parent f73daebb61
commit d8df66c00c
4 changed files with 47 additions and 13 deletions

View File

@@ -214,7 +214,6 @@ function highlightCurrentMentions(text, tokens) {
}
for (const mention of UserStore.getCurrentMentionKeys()) {
// occasionally we get an empty mention which matches a bunch of empty strings
if (!mention) {
continue;
}