From 0b55dc133bab70f04fea6ba2962aebaede17a463 Mon Sep 17 00:00:00 2001 From: prixone Date: Wed, 12 Apr 2017 18:30:09 -0300 Subject: Update global_actions.jsx (#5938) Clicking @ should append @[username] to the search --- webapp/actions/global_actions.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-1-g7c22