openimsdk / open-im-sdk-web-wasm

JS SDK for OpenIM Web use by Webassembly of go
https://openim.io
Apache License 2.0
29 stars 37 forks source link

Bug: Bidirectional messages are not interoperable. #63

Closed QNV5 closed 5 months ago

QNV5 commented 10 months ago

What happened?

In the same session, user A uses the app to send messages to user B. User B's app can receive messages, but the web end cannot receive messages (both OnRecvNewMessage and OnRecvNewMessages do not work). Reloading the message list also cannot obtain new messages. User B sends messages to user A using the app, but user A can receive messages. User B's web end cannot synchronize their messages, and user B sends messages to user A using the web end, User A's app can receive messages, and User B's app can also synchronize messages.

What did you expect to happen?

Normal message exchange

How can we reproduce it (as minimally and precisely as possible)?

In the same session, user A uses the app to send messages to user B. User B's app can receive messages, but the web end cannot receive messages (both OnRecvNewMessage and OnRecvNewMessages do not work). Reloading the message list also cannot obtain new messages. User B sends messages to user A using the app, but user A can receive messages. User B's web end cannot synchronize their messages, and user B sends messages to user A using the web end, User A's app can receive messages, and User B's app can also synchronize messages

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

Bloomingg commented 7 months ago

You can use the web demo to test first to confirm that other links are normal.