summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprixone <prixone@users.noreply.github.com>2017-04-12 18:30:09 -0300
committerCorey Hulen <corey@hulen.com>2017-04-12 14:30:09 -0700
commit0b55dc133bab70f04fea6ba2962aebaede17a463 (patch)
treedd998db3a9f8f2c90fb53d62f0e41e62d470fd64
parent59185babdc7acc950dd7c671404c1322e5b15333 (diff)
downloadchat-0b55dc133bab70f04fea6ba2962aebaede17a463.tar.gz
chat-0b55dc133bab70f04fea6ba2962aebaede17a463.tar.bz2
chat-0b55dc133bab70f04fea6ba2962aebaede17a463.zip
Update global_actions.jsx (#5938)
Clicking @ should append @[username] to the search
-rw-r--r--webapp/actions/global_actions.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/actions/global_actions.jsx b/webapp/actions/global_actions.jsx
index 3ba5f037f..c81bb02ac 100644
--- a/webapp/actions/global_actions.jsx
+++ b/webapp/actions/global_actions.jsx
@@ -525,7 +525,7 @@ export function clientLogout(redirectTo = '/') {
export function emitSearchMentionsEvent(user) {
let terms = '';
- if (user.notify_props && user.notify_props.mention_keys) {
+ if (user.notify_props) {
const termKeys = UserStore.getMentionKeys(user.id);
if (termKeys.indexOf('@channel') !== -1) {