summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
authorChris Duarte <csduarte@users.noreply.github.com>2018-01-10 14:04:04 -0800
committerChristopher Speller <crspeller@gmail.com>2018-01-10 14:04:04 -0800
commit0a9200c35d4f3c5c0462135f5f6dfe60bfe364e8 (patch)
tree6dbc6d476a25cd5fc81b606c345242521104e459 /utils/config.go
parentdd9ad10d705fdbd7fbfa7323e6560b69021a2950 (diff)
downloadchat-0a9200c35d4f3c5c0462135f5f6dfe60bfe364e8.tar.gz
chat-0a9200c35d4f3c5c0462135f5f6dfe60bfe364e8.tar.bz2
chat-0a9200c35d4f3c5c0462135f5f6dfe60bfe364e8.zip
Add EnableDefaultChannelLeaveJoinMessages config setting (#7961)
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index 83785f045..d1522538d 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -475,6 +475,7 @@ func GenerateClientConfig(c *model.Config, diagnosticId string) map[string]strin
props["CloseUnusedDirectMessages"] = strconv.FormatBool(*c.ServiceSettings.CloseUnusedDirectMessages)
props["EnablePreviewFeatures"] = strconv.FormatBool(*c.ServiceSettings.EnablePreviewFeatures)
props["EnableTutorial"] = strconv.FormatBool(*c.ServiceSettings.EnableTutorial)
+ props["ExperimentalEnableDefaultChannelLeaveJoinMessages"] = strconv.FormatBool(*c.ServiceSettings.ExperimentalEnableDefaultChannelLeaveJoinMessages)
props["SendEmailNotifications"] = strconv.FormatBool(c.EmailSettings.SendEmailNotifications)
props["SendPushNotifications"] = strconv.FormatBool(*c.EmailSettings.SendPushNotifications)