Fixed highighting at all mentions when enabled (#3606)

This commit is contained in:
Harrison Healey
2016-07-18 11:12:38 -04:00
committed by Joram Wilander
parent b353cc2cab
commit 4e16ea32e3

View File

@@ -281,12 +281,9 @@ class UserStoreClass extends EventEmitter {
keys.push(user.first_name);
}
if (user.notify_props.all === 'true') {
keys.push('@all');
}
if (user.notify_props.channel === 'true') {
keys.push('@channel');
keys.push('@all');
}
return keys;