mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-05-26 10:14:02 +00:00
f1cb840b5a
IngestNewFromDB was appending new transmissions to byPayloadType slices, breaking the newest-first ordering established by Load(). This caused GetChannelMessages (which iterates backwards assuming newest-first) to place newly ingested messages at the wrong position, making them invisible when returning the latest messages from the tail. Changed append to prepend, matching the existing s.packets prepend pattern on line 881. Added regression test. fixes #198 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>