geoffwhittington / meshtastic-matrix-relay

A relay between a Matrix.org room and a Meshtastic radio. This relay extends your Matrix.org-based communication with a LoRa-based Meshtastic radio mesh. This is not an official product of Matrix.org or Meshtastic.
MIT License
75 stars 9 forks source link

When switching nodes, the relay repeats packets in its queue that have been already sent by a previous node #74

Closed jeremiah-k closed 3 days ago

jeremiah-k commented 2 months ago

I found this bug when switching between my tlora (connected via serial & network) and my rooftop rak (connected via ble). If I connect the relay to my tlora and use the relay as I do normally, then change nodes and connect to the rooftop rak, the rak will have stored packets in its queue that it will then send to the mapped matrix channels as diplicates.

I do like that it sends packets that it received while disconnected (for example, as a result of a temporary network issue), but we need to check the Matrix room to see if the same packets have been sent previously, either by itself or by another node.

jeremiah-k commented 3 days ago

This has since been resolved.