From 94b2eca2d1b6d9c75cc2ed702ccfa38b58a9cf86 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Fri, 25 May 2018 04:41:30 +0800 Subject: add ExperimentalHideTownSquareinLHS in config setting (#8751) --- utils/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/config.go') diff --git a/utils/config.go b/utils/config.go index 18e25c999..c51ace554 100644 --- a/utils/config.go +++ b/utils/config.go @@ -554,6 +554,7 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L props["HasImageProxy"] = strconv.FormatBool(hasImageProxy) // Set default values for all options that require a license. + props["ExperimentalHideTownSquareinLHS"] = "false" props["ExperimentalTownSquareIsReadOnly"] = "false" props["ExperimentalEnableAuthenticationTransfer"] = "true" props["EnableCustomBrand"] = "false" @@ -609,6 +610,7 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L props["PasswordRequireSymbol"] = strconv.FormatBool(*c.PasswordSettings.Symbol) if license != nil { + props["ExperimentalHideTownSquareinLHS"] = strconv.FormatBool(*c.TeamSettings.ExperimentalHideTownSquareinLHS) props["ExperimentalTownSquareIsReadOnly"] = strconv.FormatBool(*c.TeamSettings.ExperimentalTownSquareIsReadOnly) props["ExperimentalEnableAuthenticationTransfer"] = strconv.FormatBool(*c.ServiceSettings.ExperimentalEnableAuthenticationTransfer) -- cgit v1.2.3-1-g7c22