From ad140d5af1f1809274990b9649cb5c87bef0ea5d Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Thu, 7 Apr 2022 16:55:26 +0200 Subject: [PATCH] only show video feed when connected --- src/domain/session/room/CallViewModel.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/domain/session/room/CallViewModel.ts b/src/domain/session/room/CallViewModel.ts index 30b18bc1..72353e4e 100644 --- a/src/domain/session/room/CallViewModel.ts +++ b/src/domain/session/room/CallViewModel.ts @@ -29,6 +29,7 @@ export class CallViewModel extends ViewModel { constructor(options: Options) { super(options); this.memberViewModels = this.getOption("call").members + .filterValues(member => member.isConnected) .mapValues(member => new CallMemberViewModel(this.childOptions({member}))) .sortValues((a, b) => a.compare(b)); }