summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-18 09:25:47 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-18 09:25:47 -0700
commitcdf813f07b207c14bb9fa03f38d734b45e40823e (patch)
tree109c6cefb3580b9ed9b314ce40bd130728d587ff /utils
parent1aa4913c44ba9a342d240e5e1ca9d5e89929e499 (diff)
parent5a436fd447753124b3f7705ecb123ecf5762bc24 (diff)
downloadchat-cdf813f07b207c14bb9fa03f38d734b45e40823e.tar.gz
chat-cdf813f07b207c14bb9fa03f38d734b45e40823e.tar.bz2
chat-cdf813f07b207c14bb9fa03f38d734b45e40823e.zip
merging
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/config.go b/utils/config.go
index 1836ec1fa..dd2c17977 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -170,7 +170,11 @@ func getSanitizeOptions(c *model.Config) map[string]bool {
func getClientProperties(c *model.Config) map[string]string {
props := make(map[string]string)
- props["Version"] = c.ServiceSettings.Version
+ props["Version"] = model.CurrentVersion
+ props["BuildNumber"] = model.BuildNumber
+ props["BuildDate"] = model.BuildDate
+ props["BuildHash"] = model.BuildHash
+
props["SiteName"] = c.ServiceSettings.SiteName
props["ByPassEmail"] = strconv.FormatBool(c.EmailSettings.ByPassEmail)
props["FeedbackEmail"] = c.EmailSettings.FeedbackEmail