Handle groupcall being null
This commit is contained in:
parent
0360889fd6
commit
70dffe95ff
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ export const useLoadGroupCall = (
|
|||
const room = await fetchOrCreateRoom();
|
||||
logger.debug(`Fetched / joined room ${roomIdOrAlias}`);
|
||||
const groupCall = client.getGroupCallForRoom(room.roomId);
|
||||
logger.debug("Got group call", groupCall.groupCallId);
|
||||
logger.debug("Got group call", groupCall?.groupCallId);
|
||||
|
||||
if (groupCall) return groupCall;
|
||||
|
||||
|
|
Loading…
Reference in a new issue