diff --git a/webapp/actions/global_actions.jsx b/webapp/actions/global_actions.jsx index 3ba5f037ff..c81bb02ac1 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) {