Revert "fix(ui/favourites): DM unread badge cleared by companion app sync"

This reverts commit f6d10bb8b2.
This commit is contained in:
Jakub
2026-05-29 11:12:30 +02:00
parent f6d10bb8b2
commit ce4d5ea1da

View File

@@ -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();
}
}