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

聊天室历史消息重复 #39

Closed
imlinhanchao opened this issue Dec 27, 2021 · 3 comments
Closed

聊天室历史消息重复 #39

imlinhanchao opened this issue Dec 27, 2021 · 3 comments

Comments

@imlinhanchao
Copy link
Contributor

imlinhanchao commented Dec 27, 2021

描述问题 Describe the problem

打开聊天室,等待新消息进入,再下滑加载历史消息。新载入消息会出现与之前相同的消息。

建议做法

/chat-room/more 接口使用最后一笔消息时间戳或 oId 作为参数,而不是 page。返回该消息后 30 笔消息列表。

@adlered adlered closed this as completed Mar 2, 2022
@adlered
Copy link
Collaborator

adlered commented Mar 2, 2022

d8398eb

@imlinhanchao
Copy link
Contributor Author

阿大也太偷懶了吧

@adlered adlered reopened this Mar 3, 2022
@adlered
Copy link
Collaborator

adlered commented Mar 3, 2022

昨天草率的搞了一下,因为没主要弄这个功能,今晚做新接口

@adlered adlered closed this as completed Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants