Fix the call type selector

This commit is contained in:
Robin Townsend
2022-08-18 18:30:51 -04:00
parent fc0a3f38ac
commit ba4258aa89
3 changed files with 43 additions and 6 deletions

View File

@@ -87,7 +87,8 @@ export const useLoadGroupCall = (
// The room doesn't exist, but we can create it
const [, roomId] = await createRoom(
client,
roomNameFromRoomId(roomIdOrAlias)
roomNameFromRoomId(roomIdOrAlias),
createPtt
);
// likewise, wait for the room
return await waitForRoom(roomId);