diff options
author | Chris Duarte <csduarte@users.noreply.github.com> | 2017-12-08 11:15:48 -0800 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-12-08 11:15:48 -0800 |
commit | 7ed1177a2b676aa4c93515268642c855cfe57a37 (patch) | |
tree | 096349fc1d36d2ee7ace7437ab3cad15234fd5d6 /utils | |
parent | 0cdf969ac71440cd52dd5b069a9068a9e5d49bd3 (diff) | |
download | chat-7ed1177a2b676aa4c93515268642c855cfe57a37.tar.gz chat-7ed1177a2b676aa4c93515268642c855cfe57a37.tar.bz2 chat-7ed1177a2b676aa4c93515268642c855cfe57a37.zip |
add config option to hide tutorial screens (#7840)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go index 929e39346..180bd7fea 100644 --- a/utils/config.go +++ b/utils/config.go @@ -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) |