summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-06-04 11:21:50 -0700
committerJoram Wilander <jwawilander@gmail.com>2016-06-04 14:21:50 -0400
commitf3825ba766625806e0776a17146ca5fff372612e (patch)
treef108503fe620907022130d447dc81746f8465a09 /api
parent6f0a7e4b137e193e6cfaac6aa90f0c91ec6b139c (diff)
downloadchat-f3825ba766625806e0776a17146ca5fff372612e.tar.gz
chat-f3825ba766625806e0776a17146ca5fff372612e.tar.bz2
chat-f3825ba766625806e0776a17146ca5fff372612e.zip
PLT-2994 Added @all (#3233)
* Added @all * Uncomment @all server side
Diffstat (limited to 'api')
-rw-r--r--api/post.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/api/post.go b/api/post.go
index cf83c4d0d..937628e0a 100644
--- a/api/post.go
+++ b/api/post.go
@@ -536,10 +536,10 @@ func sendNotifications(c *Context, post *model.Post, team *model.Team, channel *
keywordMap[profile.FirstName] = append(keywordMap[profile.FirstName], profile.Id)
}
- // Add @all to keywords if user has them turned on
- // if profile.NotifyProps["all"] == "true" {
- // keywordMap["@all"] = append(keywordMap["@all"], profile.Id)
- // }
+ //Add @all to keywords if user has them turned on
+ 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" {