summaryrefslogtreecommitdiffstats
path: root/api/websocket.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/websocket.go')
-rw-r--r--api/websocket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/websocket.go b/api/websocket.go
index 6fd79a2dd..66a44013b 100644
--- a/api/websocket.go
+++ b/api/websocket.go
@@ -34,7 +34,7 @@ func connect(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- wc := app.NewWebConn(ws, c.Session, c.T, c.Locale)
+ wc := c.App.NewWebConn(ws, c.Session, c.T, c.Locale)
if len(c.Session.UserId) > 0 {
app.HubRegister(wc)