summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
authorKenny Au <kennethjeremyau@gmail.com>2018-06-27 13:35:15 -0600
committerHarrison Healey <harrisonmhealey@gmail.com>2018-06-27 15:35:15 -0400
commit437f9f5b64ddb4e1f84e6c4e993120d074001777 (patch)
tree5ffbfc4f9730ca3cd1de82635c78b2b48bdc374c /utils/config.go
parent9abd74c5e31625c1c11fcedafc44f8aadc4ecdb0 (diff)
downloadchat-437f9f5b64ddb4e1f84e6c4e993120d074001777.tar.gz
chat-437f9f5b64ddb4e1f84e6c4e993120d074001777.tar.bz2
chat-437f9f5b64ddb4e1f84e6c4e993120d074001777.zip
Gfycat integration (#8971)
* Gfycat integration * Added gfycat api credentials to config.
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index d3cdbd3ee..10661aa54 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -555,6 +555,9 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L
props["SQLDriverName"] = *c.SqlSettings.DriverName
props["EnableEmojiPicker"] = strconv.FormatBool(*c.ServiceSettings.EnableEmojiPicker)
+ props["EnableGifPicker"] = strconv.FormatBool(*c.ServiceSettings.EnableGifPicker)
+ props["GfycatApiKey"] = *c.ServiceSettings.GfycatApiKey
+ props["GfycatApiSecret"] = *c.ServiceSettings.GfycatApiSecret
props["RestrictCustomEmojiCreation"] = *c.ServiceSettings.RestrictCustomEmojiCreation
props["MaxFileSize"] = strconv.FormatInt(*c.FileSettings.MaxFileSize, 10)