changed the way sent and received messages are stored

master
Alex 2022-03-18 23:30:03 +01:00
parent a5ef00c0ed
commit 65c153de61
1 changed files with 4 additions and 4 deletions

View File

@ -36,15 +36,15 @@ func AckHandler() {
logger.Web.Debugln("ack handler running")
for _, webClient := range cache.WebClients {
for _, msg := range webClient.SendVoiceQueueMessages {
logger.Web.Debugln("ackHandler voice:", webClient.SendVoiceQueueMessages)
for _, msg := range webClient.SendVoiceQueueMessages {
handleSendQueueMessage(currentTime, webClient, true, nil, msg)
}
for _, msg := range webClient.SendMobileQueueMessages {
logger.Web.Debugln("ackHandler mobile:", webClient.SendMobileQueueMessages)
for _, msg := range webClient.SendMobileQueueMessages {
handleSendQueueMessage(currentTime, webClient, false, nil, msg)
}
}