changed the way sent and received messages are stored

master
Alex 2022-03-18 23:12:24 +01:00
parent 9d539ba009
commit a5ef00c0ed
1 changed files with 2 additions and 2 deletions

View File

@ -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
}