Ack failed messages too

This commit is contained in:
Tulir Asokan 2024-02-26 17:08:24 +02:00
parent 0f4f00295c
commit 8b4f19fd2f

View file

@ -177,6 +177,7 @@ func (c *Client) HandleRPCMsg(rawMsg *gmproto.IncomingRPCMessage) {
msg, err := c.decryptInternalMessage(rawMsg)
if err != nil {
c.Logger.Err(err).Msg("Failed to decode incoming RPC message")
c.sessionHandler.queueMessageAck(rawMsg.ResponseID)
return
}