summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2017-09-20 17:38:27 +0200
committerHarrison Healey <harrisonmhealey@gmail.com>2017-09-20 11:38:27 -0400
commit62e5e2fda8d70d7f0b2cd3f47360a06134db58f0 (patch)
treeaa26e4783c0fa232e625ad0da35ee76c448f086f /utils
parent3a80225d617fa273d92613756aca8889e1466eb1 (diff)
downloadchat-62e5e2fda8d70d7f0b2cd3f47360a06134db58f0.tar.gz
chat-62e5e2fda8d70d7f0b2cd3f47360a06134db58f0.tar.bz2
chat-62e5e2fda8d70d7f0b2cd3f47360a06134db58f0.zip
PLT-7508: Add settings to disable wide mention confirmation (#7416)
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index a4b475449..dff4efd6e 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -509,6 +509,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["EnableWebrtc"] = strconv.FormatBool(*c.WebrtcSettings.Enable)
props["MaxNotificationsPerChannel"] = strconv.FormatInt(*c.TeamSettings.MaxNotificationsPerChannel, 10)
+ props["EnableConfirmNotificationsToChannel"] = strconv.FormatBool(*c.TeamSettings.EnableConfirmNotificationsToChannel)
props["TimeBetweenUserTypingUpdatesMilliseconds"] = strconv.FormatInt(*c.ServiceSettings.TimeBetweenUserTypingUpdatesMilliseconds, 10)
props["EnableUserTypingMessages"] = strconv.FormatBool(*c.ServiceSettings.EnableUserTypingMessages)
props["EnableChannelViewedMessages"] = strconv.FormatBool(*c.ServiceSettings.EnableChannelViewedMessages)