open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

[BUG] Message unread count update exception

Open Ru1ers opened this issue 10 months ago • 1 comments

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

Ru1ers avatar Jan 16 '25 13:01 Ru1ers

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.

OpenIM-Robot avatar Jan 16 '25 13:01 OpenIM-Robot