summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-11-23 12:14:50 -0800
committer=Corey Hulen <corey@hulen.com>2015-11-23 12:14:50 -0800
commitba0cbe723be7adcfa7b5a43e50b3932f8c7a929f (patch)
tree5b641b0746daead7852ae9a0daf373f4a623efff /api/post.go
parent6ab7df3335d414ecf864972c817e3b37b3b01abf (diff)
downloadchat-ba0cbe723be7adcfa7b5a43e50b3932f8c7a929f.tar.gz
chat-ba0cbe723be7adcfa7b5a43e50b3932f8c7a929f.tar.bz2
chat-ba0cbe723be7adcfa7b5a43e50b3932f8c7a929f.zip
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" {