-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
收到新消息,未调用 conversation.read(),刷新后获取会话列表时,unreadMessagesCount 变为 0 #589
Comments
不新开 issue 了,v4.0.0-beta.4 没发到 npm... |
@leeyeh 两个设备,A 未登录,B 给 A 发 20 条消息,此时,A 登录,会连续触发 |
此外,这20条消息当中,有些还漏掉了 |
感觉未读消息数还是有 bug,偶现数字不对的情况,暂时不知道怎么复现 |
@leeyeh 能否在 https://leancloud.cn/docs/realtime_guide-js.html#hash-422012010 中写明清楚开启离线消息推送的副作用? |
在登录之后会发生两件事:
这两个事情的顺序是不能确定的。 如果服务端的未读数通知先到,那么 SDK 会缓存这个 conversation(这时候 不管顺序如何,最终,我们都会收到一次 |
如题
The text was updated successfully, but these errors were encountered: