mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
msgRead(0) was called when the companion app read the last message from the offline queue, and it erased the entire _dm_unread_table. This wiped Favourites Dial badges the moment the app synced — leaving a 3-second window (the alert duration) where the badge was faintly visible behind the incoming-message popup, then gone. _dm_unread_table tracks per-contact UI state (Favourites Dial badges, contact list counters). It should only be cleared by user action: clearDMUnread (opens a DM) or clearAllDMUnread (mark-all-read). It has no relationship to the offline queue drain state. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>