Make implicit ACKs work on MQTT (#3028)

Don't filter out messages we originally sent via LoRa
This commit is contained in:
GUVWAF 2023-12-21 21:59:16 +01:00 committed by GitHub
parent 16a3a32f2a
commit d88baea627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,8 +143,8 @@ void MQTT::onReceive(char *topic, byte *payload, size_t length)
p->channel = ch.index;
}
// ignore messages sent by us or if we don't have the channel key
if (router && p->from != nodeDB.getNodeNum() && perhapsDecode(p))
// ignore messages if we don't have the channel key
if (router && perhapsDecode(p))
router->enqueueReceivedMessage(p);
else
packetPool.release(p);