From 88b9d2225dd68fe70881d3d6d066d56875f88c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Odziemczyk?= Date: Tue, 13 Mar 2018 18:21:02 +0100 Subject: MM-9795: Fix theme chooser for non-EE builds (#8440) * Fix theme chooser for non-EE builds * fix compilation * remove whitespace * fix --- utils/config.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/config.go') diff --git a/utils/config.go b/utils/config.go index 679e5f62c..c4d3d0d96 100644 --- a/utils/config.go +++ b/utils/config.go @@ -452,6 +452,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) -- cgit v1.2.3-1-g7c22