android: fix unread ack to use latest visible message
This commit is contained in:
@@ -700,3 +700,9 @@
|
||||
- unregister token on logout,
|
||||
- handle foreground push payload via existing notification service worker.
|
||||
- Added required env keys to `web/.env.example` and backend Firebase env keys to root `.env.example`.
|
||||
|
||||
### Step 106 - Unread counter stabilization in Chat screen
|
||||
- Fixed read acknowledgement strategy in `ChatViewModel`:
|
||||
- read status is now acknowledged by the latest visible message id in chat (not only latest incoming),
|
||||
- delivery status still uses latest incoming message.
|
||||
- This removes cases where unread badge reappears after chat list refresh because the previous read ack used an outdated incoming id.
|
||||
|
||||
Reference in New Issue
Block a user