diff --git a/src/domain/session/room/CallViewModel.ts b/src/domain/session/room/CallViewModel.ts index 0ba774a2..484543b7 100644 --- a/src/domain/session/room/CallViewModel.ts +++ b/src/domain/session/room/CallViewModel.ts @@ -55,7 +55,7 @@ export class CallViewModel extends ErrorReportViewModel vm.onUpdate(), + (param, vm) => vm?.onUpdate(), ) as BaseObservableMap; this.memberViewModels = otherMemberViewModels .join(ownMemberViewModelMap) diff --git a/src/matrix/calls/group/GroupCall.ts b/src/matrix/calls/group/GroupCall.ts index efb321b2..0b8c7db5 100644 --- a/src/matrix/calls/group/GroupCall.ts +++ b/src/matrix/calls/group/GroupCall.ts @@ -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, log) => {