diff options
author | Chris <ccbrown112@gmail.com> | 2018-01-05 16:17:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 16:17:57 -0600 |
commit | 591ef9f352efd98a85e6d04c0c9072c4c2987527 (patch) | |
tree | 2768aed148df1fba4a3e6d9c43057cf64199d6a1 /app/web_conn.go | |
parent | fd3fa8f8dcfa5de42a16db9b62e1d6628f43b0fd (diff) | |
download | chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.tar.gz chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.tar.bz2 chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.zip |
Remove utils.ClientCfg and utils.ClientCfgHash (#8041)
* remove utils.ClientCfg and utils.ClientCfgHash
* remove unused import
Diffstat (limited to 'app/web_conn.go')
-rw-r--r-- | app/web_conn.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/web_conn.go b/app/web_conn.go index 1c74e65a5..e625e61b5 100644 --- a/app/web_conn.go +++ b/app/web_conn.go @@ -277,7 +277,7 @@ func (webCon *WebConn) IsAuthenticated() bool { func (webCon *WebConn) SendHello() { msg := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_HELLO, "", "", webCon.UserId, nil) - msg.Add("server_version", fmt.Sprintf("%v.%v.%v.%v", model.CurrentVersion, model.BuildNumber, utils.ClientCfgHash, utils.IsLicensed())) + msg.Add("server_version", fmt.Sprintf("%v.%v.%v.%v", model.CurrentVersion, model.BuildNumber, webCon.App.ClientConfigHash(), utils.IsLicensed())) webCon.Send <- msg } |