mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Handle groupcall being null
This commit is contained in:
parent
0360889fd6
commit
70dffe95ff
@ -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 New Issue
Block a user