'Other words' for mentions no longer includes '@username' (#5746)

Этот коммит содержится в:
Ryan Wang
2017-03-17 08:19:10 -04:00
коммит произвёл Joram Wilander
родитель 9298315ce9
Коммит 6f87438cbb

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

@@ -64,6 +64,9 @@ function getNotificationsStateFromStores() {
} else {
usernameKey = true;
keys.splice(keys.indexOf(user.username), 1);
if (keys.indexOf(`@${user.username}`) !== -1) {
keys.splice(keys.indexOf(`@${user.username}`), 1);
}
}
customKeys = keys.join(',');