diff options
author | Asaad Mahmood <asaad@spinpunch.com> | 2015-12-14 19:04:08 +0500 |
---|---|---|
committer | Asaad Mahmood <asaad@spinpunch.com> | 2015-12-14 19:04:08 +0500 |
commit | 3d8d152aa0d84d1150ee0a174641c0a4697307f1 (patch) | |
tree | bdcdc81111fd7c8f2b3dd912402006b2d66b50cf /utils/config.go | |
parent | def79636f8e41204c32bf4b628b254aec5377ef5 (diff) | |
parent | b9a4966e7d287ddaa16ccd7d553e2ada13edc289 (diff) | |
download | chat-3d8d152aa0d84d1150ee0a174641c0a4697307f1.tar.gz chat-3d8d152aa0d84d1150ee0a174641c0a4697307f1.tar.bz2 chat-3d8d152aa0d84d1150ee0a174641c0a4697307f1.zip |
Merge branch 'master' of https://github.com/mattermost/platform into code-themes
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go index 4c8e0b5a1..0789c101d 100644 --- a/utils/config.go +++ b/utils/config.go @@ -205,6 +205,13 @@ func getClientConfig(c *model.Config) map[string]string { props["ShowEmailAddress"] = strconv.FormatBool(c.PrivacySettings.ShowEmailAddress) + props["TermsOfServiceLink"] = *c.SupportSettings.TermsOfServiceLink + props["PrivacyPolicyLink"] = *c.SupportSettings.PrivacyPolicyLink + props["AboutLink"] = *c.SupportSettings.AboutLink + props["HelpLink"] = *c.SupportSettings.HelpLink + props["ReportAProblemLink"] = *c.SupportSettings.ReportAProblemLink + props["SupportEmail"] = *c.SupportSettings.SupportEmail + props["EnablePublicLink"] = strconv.FormatBool(c.FileSettings.EnablePublicLink) props["ProfileHeight"] = fmt.Sprintf("%v", c.FileSettings.ProfileHeight) props["ProfileWidth"] = fmt.Sprintf("%v", c.FileSettings.ProfileWidth) |