mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fix mixing up params, causing us to call onUpdate on params rather than vm
This commit is contained in:
parent
920fedae5e
commit
b2feaf2b4e
@ -55,7 +55,7 @@ export class CallViewModel extends ErrorReportViewModel<SegmentType, Options<Seg
|
|||||||
emitChange,
|
emitChange,
|
||||||
mediaRepository: this.getOption("room").mediaRepository
|
mediaRepository: this.getOption("room").mediaRepository
|
||||||
})),
|
})),
|
||||||
(vm: CallMemberViewModel) => vm.onUpdate(),
|
(param, vm) => vm?.onUpdate(),
|
||||||
) as BaseObservableMap<string, IStreamViewModel>;
|
) as BaseObservableMap<string, IStreamViewModel>;
|
||||||
this.memberViewModels = otherMemberViewModels
|
this.memberViewModels = otherMemberViewModels
|
||||||
.join(ownMemberViewModelMap)
|
.join(ownMemberViewModelMap)
|
||||||
|
@ -126,7 +126,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||||||
member.dispose();
|
member.dispose();
|
||||||
this._members.remove(memberKey);
|
this._members.remove(memberKey);
|
||||||
} else {
|
} else {
|
||||||
this._members.update(memberKey, member);
|
this._members.update(memberKey);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
encryptDeviceMessage: (userId: string, deviceId: string, message: SignallingMessage<MGroupCallBase>, log) => {
|
encryptDeviceMessage: (userId: string, deviceId: string, message: SignallingMessage<MGroupCallBase>, log) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user