diff options
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/utils/utils.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index ec2b7e7e8..81de07230 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -423,6 +423,7 @@ module.exports.textToJsx = function(text, options) { highlightSearchClass = " search-highlight"; } + if (explicitMention && (UserStore.getProfileByUsername(explicitMention[1]) || Constants.SPECIAL_MENTIONS.indexOf(explicitMention[1]) !== -1)) |