summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-09-04 12:34:55 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-09-04 12:34:55 -0400
commit45b034053a80f20b7d4972061d24e2e482c5503f (patch)
treee0d7983b21fe119da61b246f714ef5db536ee4fa /web
parentf18657202866a748513f338c426f754b01f7db40 (diff)
downloadchat-45b034053a80f20b7d4972061d24e2e482c5503f.tar.gz
chat-45b034053a80f20b7d4972061d24e2e482c5503f.tar.bz2
chat-45b034053a80f20b7d4972061d24e2e482c5503f.zip
Fixed @mentions containing uppercase characters
Diffstat (limited to 'web')
-rw-r--r--web/react/utils/utils.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index ea42256aa..71cd1d344 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -498,7 +498,7 @@ export function textToJsx(textin, options) {
// do both a non-case sensitive and case senstive check
let mClass = '';
- if (('@' + name.toLowerCase()) !== -1 || implicitKeywords.indexOf('@' + name) !== -1) {
+ if (implicitKeywords.indexOf('@' + name.toLowerCase()) !== -1 || implicitKeywords.indexOf('@' + name) !== -1) {
mClass = mentionClass;
}