summaryrefslogtreecommitdiffstats
path: root/wsapi/user.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-09-06 17:12:54 -0500
committerGitHub <noreply@github.com>2017-09-06 17:12:54 -0500
commit1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3 (patch)
tree2766bacc1f045fa685ca3d8310cd6174d0311d09 /wsapi/user.go
parentb84bd21089d305333fa4114b95be70f5ad94ad1b (diff)
downloadchat-1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3.tar.gz
chat-1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3.tar.bz2
chat-1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3.zip
app type transition (#7167)
Diffstat (limited to 'wsapi/user.go')
-rw-r--r--wsapi/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsapi/user.go b/wsapi/user.go
index 7c4bdfa59..ccb6a3c3d 100644
--- a/wsapi/user.go
+++ b/wsapi/user.go
@@ -13,7 +13,7 @@ import (
func InitUser() {
l4g.Debug(utils.T("wsapi.user.init.debug"))
- app.Srv.WebSocketRouter.Handle("user_typing", ApiWebSocketHandler(userTyping))
+ app.Global().Srv.WebSocketRouter.Handle("user_typing", ApiWebSocketHandler(userTyping))
}
func userTyping(req *model.WebSocketRequest) (map[string]interface{}, *model.AppError) {