This commit is contained in:
richboo111
2023-04-25 11:37:35 +08:00
parent 547ef96592
commit 34637587d9

View File

@@ -28,6 +28,7 @@ func (c *IMController) StartWebSocket() {
globals.SugarLogger.Errorf("upgrade error: %v", err)
return
}
defer ws.Close()
clientID := c.GetString("clientID")
globals.SugarLogger.Debugf("clientID=%s", clientID)
im.StartWebSocket(ws, clientID, err)