summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2017-06-29 22:39:57 +0800
committerHarrison Healey <harrisonmhealey@gmail.com>2017-06-29 10:39:57 -0400
commit648f333850163efeac486c4b07eb47da415a9c98 (patch)
tree1b441666d3a58f39efb0cb5396ede217ed841c9a /utils
parente1168ab7cc9770ab71fda6994ee80ef0e64e15d7 (diff)
downloadchat-648f333850163efeac486c4b07eb47da415a9c98.tar.gz
chat-648f333850163efeac486c4b07eb47da415a9c98.tar.bz2
chat-648f333850163efeac486c4b07eb47da415a9c98.zip
[PLT-6496] Remove System Console and config settings for image height and width (#6688)
* remove System Console and config settings for image height and width * add constants and update config.json * updated as per review
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/config.go b/utils/config.go
index b3506ec33..8b096b6ea 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -452,8 +452,6 @@ func getClientConfig(c *model.Config) map[string]string {
props["EnableFileAttachments"] = strconv.FormatBool(*c.FileSettings.EnableFileAttachments)
props["EnablePublicLink"] = strconv.FormatBool(c.FileSettings.EnablePublicLink)
- props["ProfileHeight"] = fmt.Sprintf("%v", c.FileSettings.ProfileHeight)
- props["ProfileWidth"] = fmt.Sprintf("%v", c.FileSettings.ProfileWidth)
props["WebsocketPort"] = fmt.Sprintf("%v", *c.ServiceSettings.WebsocketPort)
props["WebsocketSecurePort"] = fmt.Sprintf("%v", *c.ServiceSettings.WebsocketSecurePort)