debug client
parent
30cf6c1835
commit
3a6231dd77
|
@ -56,6 +56,7 @@ func RunHub() {
|
||||||
// check if it is a connection from voice or mobile
|
// check if it is a connection from voice or mobile
|
||||||
for _, client := range cache.WebClients {
|
for _, client := range cache.WebClients {
|
||||||
if client.MobileConn == data.Conn || client.VoiceConn == data.Conn {
|
if client.MobileConn == data.Conn || client.VoiceConn == data.Conn {
|
||||||
|
logger.Web.Debugln("client", client)
|
||||||
go serverCommunication.HandleWebMessage(client.VoiceConn == data.Conn, data.Conn, client.Uuid, status, cmdID, dest, cmdNumber, args)
|
go serverCommunication.HandleWebMessage(client.VoiceConn == data.Conn, data.Conn, client.Uuid, status, cmdID, dest, cmdNumber, args)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue