You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Get tbe transfer target / transferee the right way around
and also switch to the transfer target's room when we call them
This commit is contained in:
@ -643,7 +643,7 @@ export default class CallHandler {
|
|||||||
|
|
||||||
this.calls.set(roomId, call);
|
this.calls.set(roomId, call);
|
||||||
if (transferee) {
|
if (transferee) {
|
||||||
this.transferees[transferee.callId] = call;
|
this.transferees[call.callId] = transferee;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setCallListeners(call);
|
this.setCallListeners(call);
|
||||||
|
@ -738,6 +738,12 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
|
|||||||
room_id: dmRoomId,
|
room_id: dmRoomId,
|
||||||
transferee: this.props.call,
|
transferee: this.props.call,
|
||||||
});
|
});
|
||||||
|
dis.dispatch({
|
||||||
|
action: 'view_room',
|
||||||
|
room_id: dmRoomId,
|
||||||
|
should_peek: false,
|
||||||
|
joining: false,
|
||||||
|
});
|
||||||
this.props.onFinished();
|
this.props.onFinished();
|
||||||
} else {
|
} else {
|
||||||
this.setState({busy: true});
|
this.setState({busy: true});
|
||||||
|
Reference in New Issue
Block a user