diff --git a/src/CallHandler.tsx b/src/CallHandler.tsx index 270853865a..be687a4474 100644 --- a/src/CallHandler.tsx +++ b/src/CallHandler.tsx @@ -643,7 +643,7 @@ export default class CallHandler { this.calls.set(roomId, call); if (transferee) { - this.transferees[transferee.callId] = call; + this.transferees[call.callId] = transferee; } this.setCallListeners(call); diff --git a/src/components/views/dialogs/InviteDialog.tsx b/src/components/views/dialogs/InviteDialog.tsx index ad74e7bb02..0f38cb130f 100644 --- a/src/components/views/dialogs/InviteDialog.tsx +++ b/src/components/views/dialogs/InviteDialog.tsx @@ -738,6 +738,12 @@ export default class InviteDialog extends React.PureComponent