mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 02:39:57 +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;
|
||||
}
|
||||
|
||||
// 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);
|
||||
|
Loading…
Reference in New Issue
Block a user