mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-24 13:58:09 +00:00
Make implicit ACKs work on MQTT (#3028)
Don't filter out messages we originally sent via LoRa
This commit is contained in:
parent
16a3a32f2a
commit
d88baea627
@ -143,8 +143,8 @@ void MQTT::onReceive(char *topic, byte *payload, size_t length)
|
|||||||
p->channel = ch.index;
|
p->channel = ch.index;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ignore messages sent by us or if we don't have the channel key
|
// ignore messages if we don't have the channel key
|
||||||
if (router && p->from != nodeDB.getNodeNum() && perhapsDecode(p))
|
if (router && perhapsDecode(p))
|
||||||
router->enqueueReceivedMessage(p);
|
router->enqueueReceivedMessage(p);
|
||||||
else
|
else
|
||||||
packetPool.release(p);
|
packetPool.release(p);
|
||||||
|
Loading…
Reference in New Issue
Block a user