diff options
Diffstat (limited to 'api4/websocket.go')
-rw-r--r-- | api4/websocket.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/websocket.go b/api4/websocket.go index fade548cb..08bb2e709 100644 --- a/api4/websocket.go +++ b/api4/websocket.go @@ -35,7 +35,7 @@ func connectWebSocket(c *Context, w http.ResponseWriter, r *http.Request) { return } - wc := app.NewWebConn(ws, c.Session, c.T, "") + wc := c.App.NewWebConn(ws, c.Session, c.T, "") if len(c.Session.UserId) > 0 { app.HubRegister(wc) |