mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-30 14:46:38 +00:00
A DM/channel post sent from the phone app was mirrored into the device history with the app's timestamp. A phone clock ahead of the device's (or on local time) made "now - timestamp" negative, which fmtAgeShort clamps to 0, so the age sat at "0s" until the device clock caught up. MessageHistory::displayTimestamp(): outgoing entries use the device's own clock (they were sent just now); incoming entries with an unknown or future sender timestamp use receipt time. Sender timestamps still drive incoming dedupe and resends (msg_ts is untouched); an on-air timestamp is unchanged. Release notes: add this fix, and say "older than v1.27" for the prefs cleanup. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>