diff options
Diffstat (limited to 'api/web_hub.go')
-rw-r--r-- | api/web_hub.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/web_hub.go b/api/web_hub.go index 23c01eb1b..dfbdf3838 100644 --- a/api/web_hub.go +++ b/api/web_hub.go @@ -156,6 +156,10 @@ func (h *Hub) Start() { close(webCon.Send) } + if len(userId) == 0 { + continue + } + found := false for webCon := range h.connections { if userId == webCon.UserId { |