MM-17609 Add EnableSVGs setting (#11874)

* MM-17609 Add EnableSVGs setting

* MM-17609 Return SVG images in post metadata
Этот коммит содержится в:
Harrison Healey
2019-08-14 13:40:40 -04:00
коммит произвёл GitHub
родитель 9b61506c7d
Коммит 23ef7d9a62
5 изменённых файлов: 28 добавлений и 1 удалений

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

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