forked from mystiq/hydrogen-web
only show video feed when connected
This commit is contained in:
parent
a78ae52a54
commit
ad140d5af1
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ export class CallViewModel extends ViewModel<Options> {
|
|||
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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue