From 57a2d3103d05774f0d5756cea605ff4e31370d98 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Thu, 6 Sep 2018 13:46:23 -0400 Subject: [PATCH] MM-11968 Fix uppercase at mentions (#2082) --- app/components/at_mention/at_mention.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/at_mention/at_mention.js b/app/components/at_mention/at_mention.js index cbf5744e8..f800ef4a2 100644 --- a/app/components/at_mention/at_mention.js +++ b/app/components/at_mention/at_mention.js @@ -80,7 +80,7 @@ export default class AtMention extends React.PureComponent { }; getUserDetailsFromMentionName(props) { - let mentionName = props.mentionName; + let mentionName = props.mentionName.toLowerCase(); while (mentionName.length > 0) { if (props.usersByUsername.hasOwnProperty(mentionName)) {