summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-24 09:02:49 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-24 09:02:49 -0500
commit99cbbf45dcbfae93b86703c1ba24c5e763932f39 (patch)
treedc769a58ab30aaa08be7b60ae972631294ea3448 /api/post.go
parent2090f6ad572e68ca56f1df44884fd02c5e92ad23 (diff)
parent30bf72262ef3f85ad0ad24ea8e57a14415464af3 (diff)
downloadchat-99cbbf45dcbfae93b86703c1ba24c5e763932f39.tar.gz
chat-99cbbf45dcbfae93b86703c1ba24c5e763932f39.tar.bz2
chat-99cbbf45dcbfae93b86703c1ba24c5e763932f39.zip
Merge pull request #1502 from mattermost/disable-all
Disabling the all mention
Diffstat (limited to 'api/post.go')
-rw-r--r--api/post.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/post.go b/api/post.go
index ca99eb15b..88d0127d3 100644
--- a/api/post.go
+++ b/api/post.go
@@ -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" {