Explain why returnToLobby is false in SPA

This commit is contained in:
Robin
2025-03-05 10:40:37 -05:00
parent 28c45c6107
commit 359812d8b1

View File

@@ -264,6 +264,8 @@ export const getUrlParams = (
"skipLobby",
isWidget && intent === UserIntent.StartNewCall,
),
// In SPA mode the user should always exit to the home screen when hanging
// up, rather than being sent back to the lobby
returnToLobby: isWidget ? parser.getFlagParam("returnToLobby") : false,
theme: parser.getParam("theme"),
viaServers: !isWidget ? parser.getParam("viaServers") : null,