mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #1502 from mattermost/disable-all
Disabling the all mention
This commit is contained in:
@@ -407,9 +407,9 @@ func sendNotificationsAndForget(c *Context, post *model.Post, team *model.Team,
|
||||
}
|
||||
|
||||
// Add @all to keywords if user has them turned on
|
||||
if profile.NotifyProps["all"] == "true" {
|
||||
keywordMap["@all"] = append(keywordMap["@all"], profile.Id)
|
||||
}
|
||||
// if profile.NotifyProps["all"] == "true" {
|
||||
// keywordMap["@all"] = append(keywordMap["@all"], profile.Id)
|
||||
// }
|
||||
|
||||
// Add @channel to keywords if user has them turned on
|
||||
if profile.NotifyProps["channel"] == "true" {
|
||||
|
||||
Reference in New Issue
Block a user