diff options
author | Derrick Anderson <derrick@andersonwebstudio.com> | 2018-03-13 18:02:48 -0400 |
---|---|---|
committer | Derrick Anderson <derrick@andersonwebstudio.com> | 2018-03-13 18:02:48 -0400 |
commit | 6830627faa881ffceb4549444c3f1bbfcb5684ab (patch) | |
tree | d610f89e9c43fc58d60448183376b0097bcf8725 /utils | |
parent | db4402c40dca7724416f1f6a38e4e256e871c302 (diff) | |
parent | 690cbc4903f97c84de4be3c945ae12317763cd0c (diff) | |
download | chat-6830627faa881ffceb4549444c3f1bbfcb5684ab.tar.gz chat-6830627faa881ffceb4549444c3f1bbfcb5684ab.tar.bz2 chat-6830627faa881ffceb4549444c3f1bbfcb5684ab.zip |
Merge branch 't2releasetomaster'
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.go | 3 |
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) |