[BUG] Message unread count update exception
OpenIM Server Version
3.8.2
Operating System and CPU Architecture
Linux (AMD)
Deployment Method
Docker Deployment
Bug Description and Steps to Reproduce
Related dependencies: @openim/client-sdk": "^0.0.11-ahpha.1 "openim-uniapp-polyfill": "^1.4.1"
Scenario: User A sends a message to user B, and user B reads the message. At this time, user A's client will accidentally trigger the OnTotalUnreadMessageCountChanged callback, and the number of unread messages returned by the callback will be reduced by 1. After refreshing the page and re-requesting, the number of unread messages returns to normal.
Normal logic: User B reads the message, which should not trigger user A's "unread message number change callback <OnTotalUnreadMessageCountChanged>"
Screenshots Link
No response
Hello! Thank you for filing an issue.
If this is a bug report, please include relevant logs to help us debug the problem.
Join slack 🤖 to connect and communicate with our developers.