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

[BUG?]: Incomplete Message History Display After Private Chat Deletion #749

Closed
zhaolibo1989 opened this issue Oct 23, 2024 · 1 comment · Fixed by #804
Closed

[BUG?]: Incomplete Message History Display After Private Chat Deletion #749

zhaolibo1989 opened this issue Oct 23, 2024 · 1 comment · Fixed by #804
Assignees

Comments

@zhaolibo1989
Copy link
Contributor

What would you like to share?

Title: Incomplete Message History Display After Private Chat Deletion

Steps to Reproduce:

  1. Enable the "IsPrivateChat" feature for a conversation between User A and User B.
  2. User A sends more than or equal to 20 regular messages to User B. This number is significant as it corresponds to the default query limit used by the app's SDK when fetching historical messages.
  3. User B logs in, views the messages, and marks them as read, initiating the burn countdown for the messages.
  4. Once the countdown concludes, the messages are deleted from the conversation.
  5. User B restarts the app and queries the latest 20 messages of that conversation. Since all the messages have been burned and are in a "deleted" state, they do not appear. The app fails to display or retrieve any messages that were not part of the initial 20 sent by User A, even though they may not have been deleted.

This issue results in an incomplete display of the conversation history after messages have been burned, as the app's SDK does not account for messages beyond the initial 20 in the query, potentially omitting undeleted messages from the user's view.

Additional information

No response

@FGadvancer FGadvancer self-assigned this Oct 31, 2024
@github-actions github-actions bot deleted a comment from codingOOatOOyi Nov 19, 2024
@github-actions github-actions bot deleted a comment from OpenIM-Robot Nov 19, 2024
@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


#773

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

Successfully merging a pull request may close this issue.

3 participants