Update global_actions.jsx (#5938)

Clicking @ should append @[username] to the search
This commit is contained in:
prixone
2017-04-12 14:30:09 -07:00
committed by Corey Hulen
parent 59185babdc
commit 0b55dc133b
+1 -1
View File
@@ -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) {