Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
recording widget fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed Aug 30, 2023
1 parent 534e7c0 commit 259c224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client-core/src/systems/ui/RecordingsWidgetUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 259c224

Please sign in to comment.