add config option to hide tutorial screens (#7840)

Этот коммит содержится в:
Chris Duarte
2017-12-08 11:15:48 -08:00
коммит произвёл Christopher Speller
родитель 0cdf969ac7
Коммит 7ed1177a2b
3 изменённых файлов: 8 добавлений и 1 удалений

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

@@ -489,6 +489,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["PostEditTimeLimit"] = fmt.Sprintf("%v", *c.ServiceSettings.PostEditTimeLimit)
props["CloseUnusedDirectMessages"] = strconv.FormatBool(*c.ServiceSettings.CloseUnusedDirectMessages)
props["EnablePreviewFeatures"] = strconv.FormatBool(*c.ServiceSettings.EnablePreviewFeatures)
props["EnableTutorial"] = strconv.FormatBool(*c.ServiceSettings.EnableTutorial)
props["SendEmailNotifications"] = strconv.FormatBool(c.EmailSettings.SendEmailNotifications)
props["SendPushNotifications"] = strconv.FormatBool(*c.EmailSettings.SendPushNotifications)