diff --git a/serverCommunication/web.go b/serverCommunication/web.go index 9270fd1..3d36108 100644 --- a/serverCommunication/web.go +++ b/serverCommunication/web.go @@ -52,7 +52,7 @@ func HandleWebMessage(isVoice bool, conn *websocket.Conn, uuid string, msg []byt continue } - webClient.RemoveMessageFromVoiceReceivedQueueByCmdID(cmdID) + webClient.RemoveMessageFromVoiceSendQueueByCmdID(cmdID) mcClient.RemoveMessageFromReceivedQueueByCmdID(data.OriginCmdID) } } @@ -78,7 +78,7 @@ func HandleWebMessage(isVoice bool, conn *websocket.Conn, uuid string, msg []byt return } - webClient.RemoveMessageFromMobileReceivedQueueByCmdID(cmdID) + webClient.RemoveMessageFromMobileSendQueueByCmdID(cmdID) mcClient.RemoveMessageFromReceivedQueueByCmdID(data.OriginCmdID) return }