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 Aug 31, 2023
1 parent 593921b commit 1b0640c
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 1b0640c

Please sign in to comment.