This commit is contained in:
Hugh Nimmo-Smith 2024-11-20 10:24:38 +00:00
parent 67a9d58aad
commit edb53ae049

View File

@ -668,8 +668,11 @@ export class CallViewModel extends ViewModel {
( (
localUserMedia?.vm as LocalUserMediaViewModel localUserMedia?.vm as LocalUserMediaViewModel
).alwaysShow.pipe( ).alwaysShow.pipe(
map((alwaysShow) => map(
alwaysShow ? localUserMedia : undefined, (alwaysShow) =>
(alwaysShow
? localUserMedia?.vm
: undefined) ?? null,
), ),
) ?? of(null) ) ?? of(null)
); );