|
|
|
@ -118,9 +118,7 @@ func OneKefuMessage(toId string, str []byte) {
|
|
|
|
|
mKefuConns := KefuList[toId]
|
|
|
|
|
if mKefuConns != nil {
|
|
|
|
|
for _, kefu := range mKefuConns {
|
|
|
|
|
Mux.Lock()
|
|
|
|
|
kefu.Conn.WriteMessage(websocket.TextMessage, str)
|
|
|
|
|
Mux.Unlock()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
SuperAdminMessage(str)
|
|
|
|
|