From 0360889fd60cfbadcca3dbe52ed5f36f6dab3620 Mon Sep 17 00:00:00 2001
From: David Baker <dave@matrix.org>
Date: Tue, 6 Sep 2022 15:11:45 +0100
Subject: [PATCH] Log ID instead of object

as otherwise it recurses and logs the entire client + store
---
 src/room/useLoadGroupCall.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/room/useLoadGroupCall.ts b/src/room/useLoadGroupCall.ts
index 37fcf5e..1679810 100644
--- a/src/room/useLoadGroupCall.ts
+++ b/src/room/useLoadGroupCall.ts
@@ -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);
+      logger.debug("Got group call", groupCall.groupCallId);
 
       if (groupCall) return groupCall;