openimsdk / open-im-server

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

[BUG] After upgrading to v3.8.1, I can no longer receive the OnUserStatusChanged callback. #2725

Open jiangzc16 opened 2 weeks ago

jiangzc16 commented 2 weeks ago

OpenIM Server Version

3.8.1

Operating System and CPU Architecture

Linux (ARM)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

1、IMSDK.on(CbEvents.OnUserStatusChanged, userStatusChangeHandler); I can no longer receive the OnUserStatusChanged callback. 2、data is [] : IMSDK.subscribeUsersStatus([userID]).then(({data}: WsResponse<UserOnlineState[]>) => { console.log('subscribeUsersStatus =>',data, userID) }); 360截图20241015143547424

Screenshots Link

No response

OpenIM-Robot commented 2 weeks 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.

icey-yu commented 4 days ago

Based on our tests, both the OnUserStatusChanged callback and the return content from subscribeUsersStatus appear to be functioning correctly. If you could provide more detailed log information, we would be happy to assist in resolving the issue.