Files
mc-webui/docs
MarekWoandClaude Opus 5 b87512d367 feat(chat): confirm before resending a stale message
Raw resend relies on Mesh::hasSeen at the repeaters to suppress the copy,
but that table only holds recent packet hashes. Resending a week-old
message therefore propagates as if new — observed 2026-08-07, when test
resends of a 30-Jul and a 31-Jul message reappeared on every node's #test
dated today, and merged both flights of echoes onto one badge.

Own message bubbles now carry data-timestamp, and resendChannelMessageRaw
warns (with the message's age) past one hour. Missing timestamp means an
optimistic bubble, i.e. fresh, so it never asks.

Verified in Chrome with the POST intercepted: 8 days old warns and
dismissing sends nothing, 59 min sends straight through, 61 min warns in
Polish too.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 15:28:59 +02:00
..
2026-07-29 21:16:18 +02:00