From ded6a80b5873e52d00895f74ef6041bcfbd75bbb Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 23 Sep 2022 15:38:35 +0100 Subject: [PATCH] Fix passworldess user prompt screen This is how boolean logic works --- src/room/GroupCallView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 36f37036..0ee6cfb6 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -139,10 +139,10 @@ export function GroupCallView({ widget.api.setAlwaysOnScreen(false); } - if (!isEmbedded) { + if (!isPasswordlessUser && !isEmbedded) { history.push("/"); } - }, [leave, isEmbedded, history]); + }, [leave, isPasswordlessUser, isEmbedded, history]); useEffect(() => { if (widget && state === GroupCallState.Entered) {