mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
Revert "fix(ui/favourites): DM unread badge cleared by companion app sync"
This reverts commit f6d10bb8b2.
This commit is contained in:
@@ -1344,9 +1344,7 @@ void UITask::msgRead(int msgcount) {
|
||||
_msgcount = msgcount;
|
||||
if (msgcount == 0) {
|
||||
_room_unread = 0;
|
||||
// Do NOT clear _dm_unread_table here — it tracks per-contact UI badges
|
||||
// independently of the offline queue. Badges are cleared only when the
|
||||
// user opens the DM (clearDMUnread) or explicitly marks all read.
|
||||
memset(_dm_unread_table, 0, sizeof(_dm_unread_table));
|
||||
((QuickMsgScreen*)quick_msg)->clearAllChannelUnread();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user