openimsdk / open-im-server

IM Chat
https://openim.io
Apache License 2.0
13.99k stars 2.46k forks source link

[BUG] markConversationMessageAsRead fail #2765

Open OrrinHatch opened 2 days ago

OrrinHatch commented 2 days ago

OpenIM Server Version

3.8.0

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

After the client successfully marks the message as read, it retrieves data from the server again, but it's still the previous data.

Screenshots Link

No response

OpenIM-Robot commented 2 days ago

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.

OrrinHatch commented 2 days ago

WechatIMG225

OrrinHatch commented 2 days ago

After refreshing the browser, IMSDK.getTotalUnreadMsgCount returns the original unread message count.

OrrinHatch commented 2 days ago

https://github.com/user-attachments/assets/748c3255-087a-4c80-b70d-4e1796d463c6

OpenIM-Robot commented 2 days ago

Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ


https://github.com/user-attachments/assets/748c3255-087a-4c80-b70d-4e1796d463c6

Bloomingg commented 1 day ago

Please collect the complete logs of the client console (including logs after removing unreads and refreshing the page), ensuring that all logs printed by wasm_exec.js are included.

OrrinHatch commented 1 day ago

In the video, the unread count for the conversation with 'ζŽε››' can be cleared

OrrinHatch commented 1 day ago

Please collect the complete logs of the client console (including logs after removing unreads and refreshing the page), ensuring that all logs printed by wasm_exec.js are included.

The code is fine, but some conversations cannot be cleared.

Bloomingg commented 1 day ago

Complete logs of the client console must be collected in order to troubleshoot the issue