mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixed updating mention keys when a user's username changes (#2774)
This commit is contained in:
committed by
Christopher Speller
parent
f73daebb61
commit
d8df66c00c
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user