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
).alwaysShow.pipe(
map((alwaysShow) =>
alwaysShow ? localUserMedia : undefined,
map(
(alwaysShow) =>
(alwaysShow
? localUserMedia?.vm
: undefined) ?? null,
),
) ?? of(null)
);