From 259c22486520cde52117e95e38c213a492784cbf Mon Sep 17 00:00:00 2001 From: HexaField Date: Thu, 31 Aug 2023 08:32:35 +1000 Subject: [PATCH] recording widget fix --- packages/client-core/src/systems/ui/RecordingsWidgetUI.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client-core/src/systems/ui/RecordingsWidgetUI.tsx b/packages/client-core/src/systems/ui/RecordingsWidgetUI.tsx index f7874921d2..5252c4a870 100755 --- a/packages/client-core/src/systems/ui/RecordingsWidgetUI.tsx +++ b/packages/client-core/src/systems/ui/RecordingsWidgetUI.tsx @@ -208,8 +208,8 @@ export const RecordingPeerList = () => { } useEffect(() => { - if (!mediaNetworkState?.users) return - peerIDs.set(mediaNetworkState.users.get({ noproxy: true })[Engine.instance.userID] ?? []) + const mediaNetwork = Engine.instance.mediaNetwork + peerIDs.set(mediaNetwork?.users?.[Engine.instance.userID] ?? []) }, [mediaNetworkState?.peers, mediaNetworkState?.users]) return (