mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-03-29 13:49:52 +00:00
Opportunistic (non-link) delivery must strip dest_hash from the LXMF payload — it's carried by the RNS packet header. Python prepends it back on receive; we now do the same. Previously ratdeck always included dest_hash when sending and never prepended it when receiving, breaking interop in both directions. - packFull: return [src:16][sig:64][msgpack] instead of [dest:16][src:16][sig:64][msgpack] - onPacketReceived: prepend dest_hash from packet header before unpacking - sendDirect: use messageId computed by packFull instead of re-hashing wire payload - Add docs/WIRE-FORMAT.md documenting the exact format for all delivery methods