diff options
author | =Corey Hulen <corey@hulen.com> | 2015-09-23 13:47:10 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-09-23 13:47:10 -0700 |
commit | ccf2e6e4e74fc249a094c2c27de675644f1065cb (patch) | |
tree | d98c966e0f273c5a6052e3c154bd7d75d091aa27 /utils/config.go | |
parent | 2b5b8f95ed9de37a15dc68c38c46a1da2bb1e160 (diff) | |
download | chat-ccf2e6e4e74fc249a094c2c27de675644f1065cb.tar.gz chat-ccf2e6e4e74fc249a094c2c27de675644f1065cb.tar.bz2 chat-ccf2e6e4e74fc249a094c2c27de675644f1065cb.zip |
Changing image settings to file settings
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/config.go b/utils/config.go index c42d5c9df..5d786699b 100644 --- a/utils/config.go +++ b/utils/config.go @@ -188,9 +188,9 @@ func getClientProperties(c *model.Config) map[string]string { props["ShowEmailAddress"] = strconv.FormatBool(c.PrivacySettings.ShowEmailAddress) - props["EnablePublicLink"] = strconv.FormatBool(c.ImageSettings.EnablePublicLink) - props["ProfileHeight"] = fmt.Sprintf("%v", c.ImageSettings.ProfileHeight) - props["ProfileWidth"] = fmt.Sprintf("%v", c.ImageSettings.ProfileWidth) + props["EnablePublicLink"] = strconv.FormatBool(c.FileSettings.EnablePublicLink) + props["ProfileHeight"] = fmt.Sprintf("%v", c.FileSettings.ProfileHeight) + props["ProfileWidth"] = fmt.Sprintf("%v", c.FileSettings.ProfileWidth) return props } |