openimsdk / oimws

A websocket and tcp framework for openim. ⚠️ This project is no longer maintained.
MIT License
23 stars 20 forks source link

Unable to receive offline messages. #32

Open huqiub opened 11 months ago

huqiub commented 11 months ago

On the mini-program side, when a user is offline, there are two scenarios:

  1. If the other party didn't log out properly but merely switched to the background, causing a disconnection, I send them a message. However, when the other party switches back to the foreground, they cannot receive the offline message I just sent. At this point, there is a record in MongoDB, but there is no record in SQLite.

  2. When a user performs a normal account logout, I send them a message. After the other party successfully logs in, they will receive the offline message.

kubbot commented 6 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.