summaryrefslogtreecommitdiffstats
path: root/webapp/utils/text_formatting.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-04-25 08:20:45 -0400
committerChristopher Speller <crspeller@gmail.com>2016-04-25 08:20:45 -0400
commitd8df66c00cadbde1aa35dd9fcdb520bb5bd230ce (patch)
treed108b6375e0ca926e57d28dfd3f0266b6eaa6763 /webapp/utils/text_formatting.jsx
parentf73daebb61311efb966afdff75034a7f9c710fbf (diff)
downloadchat-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/text_formatting.jsx')
-rw-r--r--webapp/utils/text_formatting.jsx1
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;
}