@@ -49,6 +49,7 @@ func (h *Hub) run() {
// if c, ok := h.clients[client.UserId]; ok {
// h.Disconnect <- c
// }
+
h.clients[client.UserId] = client
h.mutex.Unlock()
if h.Nats != nil {