MM-19551: Add IsDefaultMarketplace to client config (#13183)

This exposes the necessary data to the webapp to know when to send more
detailed telemetry events.
Этот коммит содержится в:
Jesse Hallam
2019-11-27 16:33:37 -04:00
коммит произвёл GitHub
родитель 0907530528
Коммит 98bc2b1077
2 изменённых файлов: 27 добавлений и 0 удалений

Просмотреть файл

@@ -132,6 +132,7 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L
props["PasswordRequireNumber"] = strconv.FormatBool(*c.PasswordSettings.Number)
props["PasswordRequireSymbol"] = strconv.FormatBool(*c.PasswordSettings.Symbol)
props["CustomUrlSchemes"] = strings.Join(c.DisplaySettings.CustomUrlSchemes, ",")
props["IsDefaultMarketplace"] = strconv.FormatBool(*c.PluginSettings.MarketplaceUrl == model.PLUGIN_SETTINGS_DEFAULT_MARKETPLACE_URL)
if license != nil {
props["ExperimentalHideTownSquareinLHS"] = strconv.FormatBool(*c.TeamSettings.ExperimentalHideTownSquareinLHS)