Skip to content
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

✨ 离线消息同步功能 #4

Open
fzdwx opened this issue Apr 25, 2022 · 0 comments
Open

✨ 离线消息同步功能 #4

fzdwx opened this issue Apr 25, 2022 · 0 comments
Assignees
Labels
enhancement 新特性或请求

Comments

@fzdwx
Copy link
Member

fzdwx commented Apr 25, 2022

Describe the effect you want to achieve

  1. 用户上线时拉去所有未接收的离线消息
  2. 所有丢失的消息

Describe the solution you'd like

  1. 客户端保存当前用户所接收到的boxOwnerSeq(记为localSeq)
  2. 每次从客户端收到消息时比对localSeq与服务端推送过来的seq(serverSeq)
  3. 如果不是连续的则调用接口拉去丢失的消息
  4. 如果小于则直接丢弃

@DesignerLookMe

@fzdwx fzdwx added the enhancement 新特性或请求 label Apr 25, 2022
@fzdwx fzdwx transferred this issue from atomicoke/chat Apr 25, 2022
@fzdwx fzdwx added this to Chat May 13, 2022
@fzdwx fzdwx moved this to Todo in Chat May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 新特性或请求
Projects
Status: Todo
Development

No branches or pull requests

2 participants