mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Revert function reordering
This commit is contained in:
@@ -609,12 +609,6 @@ export class CallViewModel extends ViewModel {
|
|||||||
this.scope.state(),
|
this.scope.state(),
|
||||||
);
|
);
|
||||||
|
|
||||||
private readonly hasRemoteScreenShares: Observable<boolean> =
|
|
||||||
this.screenShares.pipe(
|
|
||||||
map((ms) => ms.some((m) => !m.vm.local)),
|
|
||||||
distinctUntilChanged(),
|
|
||||||
);
|
|
||||||
|
|
||||||
private readonly spotlightSpeaker: Observable<
|
private readonly spotlightSpeaker: Observable<
|
||||||
UserMediaViewModel | undefined
|
UserMediaViewModel | undefined
|
||||||
> = this.userMedia.pipe(
|
> = this.userMedia.pipe(
|
||||||
@@ -729,6 +723,12 @@ export class CallViewModel extends ViewModel {
|
|||||||
this.scope.state(),
|
this.scope.state(),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
private readonly hasRemoteScreenShares: Observable<boolean> =
|
||||||
|
this.screenShares.pipe(
|
||||||
|
map((ms) => ms.some((m) => !m.vm.local)),
|
||||||
|
distinctUntilChanged(),
|
||||||
|
);
|
||||||
|
|
||||||
private readonly pip: Observable<UserMediaViewModel | null> =
|
private readonly pip: Observable<UserMediaViewModel | null> =
|
||||||
this.spotlightAndPip.pipe(switchMap(([, pip]) => pip));
|
this.spotlightAndPip.pipe(switchMap(([, pip]) => pip));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user