diff --git a/src/ClientContext.tsx b/src/ClientContext.tsx index 518aa38e..1488965a 100644 --- a/src/ClientContext.tsx +++ b/src/ClientContext.tsx @@ -358,7 +358,7 @@ export type InitResult = { passwordlessUser: boolean; }; -export async function loadClient(): Promise { +async function loadClient(): Promise { if (widget) { // We're inside a widget, so let's engage *matryoshka mode* logger.log("Using a matryoshka client"); diff --git a/src/state/CallViewModel/CallViewModel.ts b/src/state/CallViewModel/CallViewModel.ts index 00a7d3e9..252c0c8f 100644 --- a/src/state/CallViewModel/CallViewModel.ts +++ b/src/state/CallViewModel/CallViewModel.ts @@ -649,12 +649,6 @@ export function createCallViewModel$( return acc; }, []), ), - tap((val) => { - logger.debug( - "livekitRoomItems$ updated", - val.map((v) => v.url), - ); - }), ), [], ); @@ -1480,10 +1474,10 @@ export function createCallViewModel$( ); return { - autoLeave$, - callPickupState$, - ringOverlay$, - leave$, + autoLeave$: autoLeave$, + callPickupState$: callPickupState$, + ringOverlay$: ringOverlay$, + leave$: leave$, hangup: (): void => userHangup$.next(), join: localMembership.requestJoinAndPublish, toggleScreenSharing: toggleScreenSharing, @@ -1509,7 +1503,7 @@ export function createCallViewModel$( ), null, ), - + participantCount$: participantCount, handsRaised$: handsRaised$, reactions$: reactions$, joinSoundEffect$: joinSoundEffect$, @@ -1518,6 +1512,7 @@ export function createCallViewModel$( newScreenShare$: newScreenShare$, audibleReactions$: audibleReactions$, visibleReactions$: visibleReactions$, + windowMode$: windowMode$, spotlightExpanded$: spotlightExpanded$, toggleSpotlightExpanded$: toggleSpotlightExpanded$, @@ -1545,7 +1540,6 @@ export function createCallViewModel$( earpieceMode$: earpieceMode$, audioOutputSwitcher$: audioOutputSwitcher$, reconnecting$: localMembership.reconnecting$, - participantCount$, livekitRoomItems$, connected$: localMembership.connected$, };