Disable call button while the call is connecting. (#3531)

* Disable call button while the call is connecting.

* cleanup

* fix

* Update src/room/LobbyView.tsx

Co-authored-by: Robin <robin@robin.town>

* fixup

* appease linter

---------

Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
Will Hunt
2025-10-06 19:52:58 +01:00
committed by GitHub
parent d24da1859e
commit 3ac2aa8526
3 changed files with 18 additions and 6 deletions

View File

@@ -151,7 +151,10 @@ export const RoomPage: FC = () => {
: E2eeType.NONE,
},
}}
onEnter={(): void => knock?.()}
onEnter={async (): Promise<void> => {
knock?.();
return Promise.resolve();
}}
enterLabel={label}
waitingForInvite={groupCallState.kind === "waitForInvite"}
confineToRoom={confineToRoom}