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

Respect the returnToLobby flag #3051

Merged
merged 3 commits into from
Mar 5, 2025
Merged

Respect the returnToLobby flag #3051

merged 3 commits into from
Mar 5, 2025

Conversation

robintown
Copy link
Member

@robintown robintown commented Mar 4, 2025

See the commits for the details, but what happened is #3021 regressed our handling of the returnToLobby URL parameter. This was causing video rooms on develop.element.io to show a blank screen after leaving the call rather than returning to the lobby view.

Will need backporting to release-v0.7.2 because this implies a behavior change in the 'close' action that element-hq/element-web#29254 would adapt to.

2bb5b02 refactored the end of the GroupCallView render function to not use any early returns, and clumsily failed to account for the fall-through case that makes returnToLobby work (as opposed to sitting on a blank screen).
If returnToLobby is enabled then we obviously want to keep the widget open once the user leaves the call.
Copy link
Contributor

@toger5 toger5 left a comment

Choose a reason for hiding this comment

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

Just a couple of clarifications if changes are cosmetic or if it was broken before. I am not understanding how things have been working before.

@robintown robintown merged commit b5f5ab3 into livekit Mar 5, 2025
9 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.

3 participants