Skip to content

Commit

Permalink
fix _onPubcomp
Browse files Browse the repository at this point in the history
Signed-off-by: MichaelDvP <[email protected]>
  • Loading branch information
MichaelDvP authored and bertmelis committed Aug 31, 2023
1 parent 490a94a commit acf3564
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/MqttClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,9 +635,6 @@ void MqttClient::_onPubcomp() {
// if it doesn't match the ID, return
if ((it.get()->packet.packetType()) == PacketType.PUBREL) {
if (it.get()->packet.packetId() == idToMatch) {
if (!_addPacket(PacketType.PUBCOMP, idToMatch)) {
emc_log_e("Could not create PUBCOMP packet");
}
callback = true;
_outbox.remove(it);
break;
Expand Down

0 comments on commit acf3564

Please sign in to comment.