Searching for recent mentions no longer includes all or channel if those options were toggled in the users mention settings
Этот коммит содержится в:
@@ -125,7 +125,14 @@ module.exports = React.createClass({
|
||||
|
||||
var terms = "";
|
||||
if (user.notify_props && user.notify_props.mention_keys) {
|
||||
terms = UserStore.getCurrentMentionKeys().join(' ');
|
||||
var termKeys = UserStore.getCurrentMentionKeys();
|
||||
if (user.notify_props.all === "true" && termKeys.indexOf("@all") !== -1) {
|
||||
termKeys.splice(termKeys.indexOf("@all"), 1);
|
||||
}
|
||||
if (user.notify_props.channel === "true" && termKeys.indexOf("@channel") !== -1) {
|
||||
termKeys.splice(termKeys.indexOf("@channel"), 1);
|
||||
}
|
||||
terms = termKeys.join(' ');
|
||||
}
|
||||
|
||||
AppDispatcher.handleServerAction({
|
||||
|
||||
Ссылка в новой задаче
Block a user