summaryrefslogtreecommitdiffstats
path: root/app/web_hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/web_hub.go')
-rw-r--r--app/web_hub.go4
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: