This commit introduces a `MAGIC_PREFIX` (`🌐 `) that is prepended to every message forwarded from the internet (XMPP) onto the local Meshtastic mesh. The `on_meshtastic_receive` handler has been updated to ignore any incoming messages on the mesh that start with this prefix. This prevents multiple bridges running in the same physical mesh network from continually forwarding the same message back and forth, creating an infinite communication loop. Co-authored-by: jamessucla <2191476+jamessucla@users.noreply.github.com>
5.0 KiB
5.0 KiB