summaryrefslogtreecommitdiffstats
path: root/api/web_hub.go
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-09-08 10:27:49 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-09-08 10:27:49 -0300
commiteb8373aa80905fc57173da03ed5b2bd972c83d53 (patch)
treed543342c710b633fe75313ece472314202e7bc44 /api/web_hub.go
parenta5ebbcfdb4f151de204b6be276c5f07175ceb82a (diff)
parentb2b2d141a9c4b423e6920930b726becd1e46436c (diff)
downloadchat-eb8373aa80905fc57173da03ed5b2bd972c83d53.tar.gz
chat-eb8373aa80905fc57173da03ed5b2bd972c83d53.tar.bz2
chat-eb8373aa80905fc57173da03ed5b2bd972c83d53.zip
Merge branch 'release-3.4' RC4
Diffstat (limited to 'api/web_hub.go')
-rw-r--r--api/web_hub.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/web_hub.go b/api/web_hub.go
index c4abc5a7a..452fa10f8 100644
--- a/api/web_hub.go
+++ b/api/web_hub.go
@@ -64,7 +64,7 @@ func (h *Hub) Register(webConn *WebConn) {
h.register <- webConn
msg := model.NewWebSocketEvent("", "", webConn.UserId, model.WEBSOCKET_EVENT_HELLO)
- msg.Add("server_version", fmt.Sprintf("%v.%v", model.CurrentVersion, utils.CfgHash))
+ msg.Add("server_version", fmt.Sprintf("%v.%v.%v", model.CurrentVersion, model.BuildNumber, utils.CfgHash))
go Publish(msg)
}