changed the way sent and received messages are stored
parent
a5ef00c0ed
commit
65c153de61
|
@ -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)
|
||||
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)
|
||||
logger.Web.Debugln("ackHandler mobile:", webClient.SendMobileQueueMessages)
|
||||
|
||||
for _, msg := range webClient.SendMobileQueueMessages {
|
||||
handleSendQueueMessage(currentTime, webClient, false, nil, msg)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue