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

fix: invalidate conversation members [WPB-3047] #1878

Merged
merged 6 commits into from
Jul 14, 2023

Conversation

Garzas
Copy link
Contributor

@Garzas Garzas commented Jul 13, 2023


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

When user is leaving conversation, after that he will not receive any events about member leave or join that conversation. So after rejoining conversation he will have wrong conversation member list.

Also slow sync will not remove members who left when user was not a member of conversation, because slow sync only adds members.

Solutions

Because of potential performance problems I forced slow sync with entire members invalidation just once. In next version we can remove it and always invalidate conversation members when user will rejoin conversation

@github-actions
Copy link
Contributor

github-actions bot commented Jul 13, 2023

Unit Test Results

       6 files         6 suites   17m 2s ⏱️
1 929 tests 1 915 ✔️ 14 💤 0

Results for commit 1f8b92e.

♻️ This comment has been updated with latest results.

Copy link
Member

@MohamadJaara MohamadJaara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good approach, only some nitpicking

@tmspzz tmspzz merged commit 7f3c540 into release/candidate Jul 14, 2023
9 checks passed
@tmspzz tmspzz deleted the fix/rc-invalidate-conversation-members branch July 14, 2023 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants