[MM-19344] add option to render latex (#12907)

Этот коммит содержится в:
Guillermo Vayá
2019-10-25 19:58:48 +02:00
коммит произвёл Harrison Healey
родитель c0186cef1a
Коммит f58e2ffd0f
3 изменённых файлов: 11 добавлений и 0 удалений

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

@@ -44,6 +44,7 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L
props["ExperimentalGroupUnreadChannels"] = *c.ServiceSettings.ExperimentalGroupUnreadChannels
props["EnableSVGs"] = strconv.FormatBool(*c.ServiceSettings.EnableSVGs)
props["EnableMarketplace"] = strconv.FormatBool(*c.PluginSettings.EnableMarketplace)
props["EnableLatex"] = strconv.FormatBool(*c.ServiceSettings.EnableLatex)
// This setting is only temporary, so keep using the old setting name for the mobile and web apps
props["ExperimentalEnablePostMetadata"] = "true"