From 275731578e72d2c6e12cfb2fc315d3446474faec Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 16 Jul 2018 15:49:26 -0400 Subject: MM-10254 Add plugin APIs for getting/updating user statuses (#9101) * Add plugin APIs for getting/updating user statuses * Add and update tests * Updates per feedback --- app/web_conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/web_conn.go') diff --git a/app/web_conn.go b/app/web_conn.go index dd01a8e31..47fae24c3 100644 --- a/app/web_conn.go +++ b/app/web_conn.go @@ -47,7 +47,7 @@ type WebConn struct { func (a *App) NewWebConn(ws *websocket.Conn, session model.Session, t goi18n.TranslateFunc, locale string) *WebConn { if len(session.UserId) > 0 { a.Go(func() { - a.SetStatusOnline(session.UserId, session.Id, false) + a.SetStatusOnline(session.UserId, false) a.UpdateLastActivityAtIfNeeded(session) }) } -- cgit v1.2.3-1-g7c22