mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +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,
|
||||
mediaRepository: this.getOption("room").mediaRepository
|
||||
})),
|
||||
(vm: CallMemberViewModel) => vm.onUpdate(),
|
||||
(param, vm) => vm?.onUpdate(),
|
||||
) as BaseObservableMap<string, IStreamViewModel>;
|
||||
this.memberViewModels = otherMemberViewModels
|
||||
.join(ownMemberViewModelMap)
|
||||
|
@ -126,7 +126,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
||||
member.dispose();
|
||||
this._members.remove(memberKey);
|
||||
} else {
|
||||
this._members.update(memberKey, member);
|
||||
this._members.update(memberKey);
|
||||
}
|
||||
},
|
||||
encryptDeviceMessage: (userId: string, deviceId: string, message: SignallingMessage<MGroupCallBase>, log) => {
|
||||
|
Loading…
Reference in New Issue
Block a user