Merge pull request #1502 from mattermost/disable-all

Disabling the all mention
Этот коммит содержится в:
Christopher Speller
2015-11-24 09:02:49 -05:00
родитель 2090f6ad57 30bf72262e
Коммит 99cbbf45dc
5 изменённых файлов: 22 добавлений и 17 удалений

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

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