mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-01 17:56: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;
|
_msgcount = msgcount;
|
||||||
if (msgcount == 0) {
|
if (msgcount == 0) {
|
||||||
_room_unread = 0;
|
_room_unread = 0;
|
||||||
// Do NOT clear _dm_unread_table here — it tracks per-contact UI badges
|
memset(_dm_unread_table, 0, sizeof(_dm_unread_table));
|
||||||
// independently of the offline queue. Badges are cleared only when the
|
|
||||||
// user opens the DM (clearDMUnread) or explicitly marks all read.
|
|
||||||
((QuickMsgScreen*)quick_msg)->clearAllChannelUnread();
|
((QuickMsgScreen*)quick_msg)->clearAllChannelUnread();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user