mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-21 00:28:08 +08:00
Fix
This commit is contained in:
parent
67a9d58aad
commit
edb53ae049
@ -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)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user