From a5ef00c0ede54b8c97ec3e981c99c41d59d41764 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 18 Mar 2022 23:12:24 +0100 Subject: [PATCH] changed the way sent and received messages are stored --- serverCommunication/web.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }