summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Duarte <csduarte@users.noreply.github.com>2017-11-21 07:45:41 -0800
committerJoram Wilander <jwawilander@gmail.com>2017-11-21 10:45:41 -0500
commitcfa09ce0ef1877f6d7404f681414fa300503ea6c (patch)
treee54fd6fba17e5684a57c178d4d0be13dd8e74385 /utils
parentfdba2d50fd431796e49cef00484de410b7a7a350 (diff)
downloadchat-cfa09ce0ef1877f6d7404f681414fa300503ea6c.tar.gz
chat-cfa09ce0ef1877f6d7404f681414fa300503ea6c.tar.bz2
chat-cfa09ce0ef1877f6d7404f681414fa300503ea6c.zip
Hide pre-release features section of advanced settings pane. (#7847)
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 1dea32535..25e684411 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -489,6 +489,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["AllowEditPost"] = *c.ServiceSettings.AllowEditPost
props["PostEditTimeLimit"] = fmt.Sprintf("%v", *c.ServiceSettings.PostEditTimeLimit)
props["CloseUnusedDirectMessages"] = strconv.FormatBool(*c.ServiceSettings.CloseUnusedDirectMessages)
+ props["EnablePreviewFeatures"] = strconv.FormatBool(*c.ServiceSettings.EnablePreviewFeatures)
props["SendEmailNotifications"] = strconv.FormatBool(c.EmailSettings.SendEmailNotifications)
props["SendPushNotifications"] = strconv.FormatBool(*c.EmailSettings.SendPushNotifications)