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

Do not make snapshots for lone leave events #235

Merged
merged 2 commits into from
Aug 2, 2023

Commits on Jul 31, 2023

  1. Do not make snapshots for lone leave events

    Specifically this is targetting invite rejections, where the leave
    event is inside the leave block of the sync v2 response.
    
    Previously, we would make a snapshot with this leave event. If the
    proxy wasn't in this room, it would mean the room state would just
    be the leave event, which is wrong. If the proxy was in the room,
    then state would correctly be rolled forward.
    kegsay committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    6623ddb View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Also check for _leave

    kegsay committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    29c4254 View commit details
    Browse the repository at this point in the history