diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-04-25 08:20:45 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-04-25 08:20:45 -0400 |
commit | d8df66c00cadbde1aa35dd9fcdb520bb5bd230ce (patch) | |
tree | d108b6375e0ca926e57d28dfd3f0266b6eaa6763 /webapp/utils | |
parent | f73daebb61311efb966afdff75034a7f9c710fbf (diff) | |
download | chat-d8df66c00cadbde1aa35dd9fcdb520bb5bd230ce.tar.gz chat-d8df66c00cadbde1aa35dd9fcdb520bb5bd230ce.tar.bz2 chat-d8df66c00cadbde1aa35dd9fcdb520bb5bd230ce.zip |
Fixed updating mention keys when a user's username changes (#2774)
Diffstat (limited to 'webapp/utils')
-rw-r--r-- | webapp/utils/text_formatting.jsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/webapp/utils/text_formatting.jsx b/webapp/utils/text_formatting.jsx index 3aa82ccdc..88dc412ca 100644 --- a/webapp/utils/text_formatting.jsx +++ b/webapp/utils/text_formatting.jsx @@ -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; } |