Clicking @ should append @[username] to the search
Этот коммит содержится в:
prixone
2017-04-12 18:30:09 -03:00
коммит произвёл Corey Hulen
родитель 59185babdc
Коммит 0b55dc133b

Просмотреть файл

@@ -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) {