diff options
Diffstat (limited to 'app/web_hub.go')
-rw-r--r-- | app/web_hub.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/web_hub.go b/app/web_hub.go index 50ccb100e..0a70cb6d1 100644 --- a/app/web_hub.go +++ b/app/web_hub.go @@ -395,7 +395,9 @@ func (h *Hub) Start() { } if !found { - go h.app.SetStatusOffline(userId, false) + h.app.Go(func() { + h.app.SetStatusOffline(userId, false) + }) } case userId := <-h.invalidateUser: |