Skip to content

Commit

Permalink
Merge pull request #360 from dusanb94/master
Browse files Browse the repository at this point in the history
Don't send PUBLISH messages when resuming
  • Loading branch information
Al S-M committed Oct 23, 2019
2 parents 7277ef7 + e259e80 commit 0d8f631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Expand Up @@ -791,7 +791,7 @@ func (c *client) resume(subscription bool) {
}
} else {
switch packet.(type) {
case *packets.PubrelPacket, *packets.PublishPacket:
case *packets.PubrelPacket:
DEBUG.Println(STR, fmt.Sprintf("loaded pending incomming (%d)", details.MessageID))
select {
case c.ibound <- packet:
Expand Down

0 comments on commit 0d8f631

Please sign in to comment.