summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {