mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Update global_actions.jsx (#5938)
Clicking @ should append @[username] to the search
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user