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

Retry a join on invite if the response was M_FORBIDDEN #2637

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

Half-Shot
Copy link
Member

Workaround for #2634

This simply retries a join if we got a M_FORBIDDEN from joining a room we know we were invited to. This is likely due to the delay mention in the linked issue of the linked issue. We attempt to join a few times, but eventually give up if the server doesn't yield.

The full solution is to fix Synapse so that it doesn't send an invite down sync until the room is ready to be joined to.

Copy link
Contributor

@fkwp fkwp left a comment

Choose a reason for hiding this comment

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

lgtm

@Half-Shot Half-Shot merged commit 4bf6509 into livekit Sep 18, 2024
4 checks passed
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 this pull request may close these issues.

2 participants