From 39b3dab8f1ce8eef62b7620446d9ede2c3f88861 Mon Sep 17 00:00:00 2001 From: Al Stockdill-Mander Date: Fri, 12 Mar 2021 09:10:38 +0000 Subject: [PATCH] Wrong number --- paho/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paho/client.go b/paho/client.go index cb63556..3b2f962 100644 --- a/paho/client.go +++ b/paho/client.go @@ -377,7 +377,7 @@ func (c *Client) Incoming() { c.debug.Println("received PUBREL for", recv.PacketID()) //Auto respond to pubrels unless failure code pr := recv.Content.(*packets.Pubrel) - if pr.ReasonCode >= 0x92 { + if pr.ReasonCode >= 0x80 { //Received a failure code, continue continue } else {