mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-10-30 23:51:57 +01:00
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>