reduce PR diff

This commit is contained in:
Timo K
2025-12-22 13:42:16 +01:00
parent 852d2ee375
commit 725ff31d6f
2 changed files with 7 additions and 13 deletions

View File

@@ -358,7 +358,7 @@ export type InitResult = {
passwordlessUser: boolean; passwordlessUser: boolean;
}; };
export async function loadClient(): Promise<InitResult | null> { async function loadClient(): Promise<InitResult | null> {
if (widget) { if (widget) {
// We're inside a widget, so let's engage *matryoshka mode* // We're inside a widget, so let's engage *matryoshka mode*
logger.log("Using a matryoshka client"); logger.log("Using a matryoshka client");

View File

@@ -649,12 +649,6 @@ export function createCallViewModel$(
return acc; return acc;
}, []), }, []),
), ),
tap((val) => {
logger.debug(
"livekitRoomItems$ updated",
val.map((v) => v.url),
);
}),
), ),
[], [],
); );
@@ -1480,10 +1474,10 @@ export function createCallViewModel$(
); );
return { return {
autoLeave$, autoLeave$: autoLeave$,
callPickupState$, callPickupState$: callPickupState$,
ringOverlay$, ringOverlay$: ringOverlay$,
leave$, leave$: leave$,
hangup: (): void => userHangup$.next(), hangup: (): void => userHangup$.next(),
join: localMembership.requestJoinAndPublish, join: localMembership.requestJoinAndPublish,
toggleScreenSharing: toggleScreenSharing, toggleScreenSharing: toggleScreenSharing,
@@ -1509,7 +1503,7 @@ export function createCallViewModel$(
), ),
null, null,
), ),
participantCount$: participantCount,
handsRaised$: handsRaised$, handsRaised$: handsRaised$,
reactions$: reactions$, reactions$: reactions$,
joinSoundEffect$: joinSoundEffect$, joinSoundEffect$: joinSoundEffect$,
@@ -1518,6 +1512,7 @@ export function createCallViewModel$(
newScreenShare$: newScreenShare$, newScreenShare$: newScreenShare$,
audibleReactions$: audibleReactions$, audibleReactions$: audibleReactions$,
visibleReactions$: visibleReactions$, visibleReactions$: visibleReactions$,
windowMode$: windowMode$, windowMode$: windowMode$,
spotlightExpanded$: spotlightExpanded$, spotlightExpanded$: spotlightExpanded$,
toggleSpotlightExpanded$: toggleSpotlightExpanded$, toggleSpotlightExpanded$: toggleSpotlightExpanded$,
@@ -1545,7 +1540,6 @@ export function createCallViewModel$(
earpieceMode$: earpieceMode$, earpieceMode$: earpieceMode$,
audioOutputSwitcher$: audioOutputSwitcher$, audioOutputSwitcher$: audioOutputSwitcher$,
reconnecting$: localMembership.reconnecting$, reconnecting$: localMembership.reconnecting$,
participantCount$,
livekitRoomItems$, livekitRoomItems$,
connected$: localMembership.connected$, connected$: localMembership.connected$,
}; };