mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixed @mentions containing uppercase characters
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user