summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
authorDerrick Anderson <derrick@andersonwebstudio.com>2018-03-13 17:14:05 -0400
committerDerrick Anderson <derrick@andersonwebstudio.com>2018-03-13 17:14:05 -0400
commit690cbc4903f97c84de4be3c945ae12317763cd0c (patch)
treed610f89e9c43fc58d60448183376b0097bcf8725 /utils/config.go
parentdb4402c40dca7724416f1f6a38e4e256e871c302 (diff)
parent88b9d2225dd68fe70881d3d6d066d56875f88c7d (diff)
downloadchat-690cbc4903f97c84de4be3c945ae12317763cd0c.tar.gz
chat-690cbc4903f97c84de4be3c945ae12317763cd0c.tar.bz2
chat-690cbc4903f97c84de4be3c945ae12317763cd0c.zip
Merge remote-tracking branch 'origin/release-4.8' into t2releasetomaster
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index 1b6d7714e..93a870743 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -449,6 +449,9 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L
hasImageProxy := c.ServiceSettings.ImageProxyType != nil && *c.ServiceSettings.ImageProxyType != "" && c.ServiceSettings.ImageProxyURL != nil && *c.ServiceSettings.ImageProxyURL != ""
props["HasImageProxy"] = strconv.FormatBool(hasImageProxy)
+ props["EnableThemeSelection"] = "true"
+ props["AllowCustomThemes"] = "true"
+
if license != nil {
props["ExperimentalTownSquareIsReadOnly"] = strconv.FormatBool(*c.TeamSettings.ExperimentalTownSquareIsReadOnly)
props["ExperimentalEnableAuthenticationTransfer"] = strconv.FormatBool(*c.ServiceSettings.ExperimentalEnableAuthenticationTransfer)