android: fix unread badge reset when chat is read
This commit is contained in:
@@ -525,3 +525,8 @@
|
||||
### Step 84 - Chats list preview icon policy cleanup
|
||||
- Updated chat last-message preview text to remove emoji prefixes.
|
||||
- Switched media-type preview prefixes to plain text labels (`Photo`, `Video`, `Voice`, etc.) to match Material-icons-only UI policy.
|
||||
|
||||
### Step 85 - Unread counter fix for active/read chats
|
||||
- Added `ChatDao.markChatRead(chatId)` to clear `unread_count` and `unread_mentions_count` in Room.
|
||||
- Applied optimistic local unread reset on `markMessageRead(...)` in message repository.
|
||||
- Fixed realtime unread logic: incoming messages in currently active chat no longer increment unread badge.
|
||||
|
||||
Reference in New Issue
Block a user