diff --git a/examples/companion_radio/ui-new/UITask.cpp b/examples/companion_radio/ui-new/UITask.cpp index f7be4cd5..3af5ea3b 100644 --- a/examples/companion_radio/ui-new/UITask.cpp +++ b/examples/companion_radio/ui-new/UITask.cpp @@ -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(); } }