changed the way sent and received messages are stored
parent
9d539ba009
commit
a5ef00c0ed
|
@ -52,7 +52,7 @@ func HandleWebMessage(isVoice bool, conn *websocket.Conn, uuid string, msg []byt
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
webClient.RemoveMessageFromVoiceReceivedQueueByCmdID(cmdID)
|
webClient.RemoveMessageFromVoiceSendQueueByCmdID(cmdID)
|
||||||
mcClient.RemoveMessageFromReceivedQueueByCmdID(data.OriginCmdID)
|
mcClient.RemoveMessageFromReceivedQueueByCmdID(data.OriginCmdID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -78,7 +78,7 @@ func HandleWebMessage(isVoice bool, conn *websocket.Conn, uuid string, msg []byt
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
webClient.RemoveMessageFromMobileReceivedQueueByCmdID(cmdID)
|
webClient.RemoveMessageFromMobileSendQueueByCmdID(cmdID)
|
||||||
mcClient.RemoveMessageFromReceivedQueueByCmdID(data.OriginCmdID)
|
mcClient.RemoveMessageFromReceivedQueueByCmdID(data.OriginCmdID)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue