summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-10-05 08:46:23 -0400
committerJoramWilander <jwawilander@gmail.com>2015-10-05 08:46:23 -0400
commit2a23d90ca6528ffaaf38365d549682de0613e922 (patch)
tree593cfe75817e7dbadc2183b969417ca5ee7408c2 /utils/config.go
parent11903a38341eb55bb4c6f26ea141eccb90beabe2 (diff)
downloadchat-2a23d90ca6528ffaaf38365d549682de0613e922.tar.gz
chat-2a23d90ca6528ffaaf38365d549682de0613e922.tar.bz2
chat-2a23d90ca6528ffaaf38365d549682de0613e922.zip
Add config options for overriding username and icon, and add BOT indicator next to webhook posts.
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index 3218211e3..44c4c43af 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -184,6 +184,8 @@ func getClientProperties(c *model.Config) map[string]string {
props["SegmentDeveloperKey"] = c.ServiceSettings.SegmentDeveloperKey
props["GoogleDeveloperKey"] = c.ServiceSettings.GoogleDeveloperKey
props["EnableIncomingWebhooks"] = strconv.FormatBool(c.ServiceSettings.EnableIncomingWebhooks)
+ props["EnablePostUsernameOverride"] = strconv.FormatBool(c.ServiceSettings.EnablePostUsernameOverride)
+ props["EnablePostIconOverride"] = strconv.FormatBool(c.ServiceSettings.EnablePostIconOverride)
props["SendEmailNotifications"] = strconv.FormatBool(c.EmailSettings.SendEmailNotifications)
props["EnableSignUpWithEmail"] = strconv.FormatBool(c.EmailSettings.EnableSignUpWithEmail)