mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 12:37:22 +01:00
only show video feed when connected
This commit is contained in:
parent
a78ae52a54
commit
ad140d5af1
@ -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…
x
Reference in New Issue
Block a user