1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Start a call immediately after creating a room via the dial pad (#6529)

This commit is contained in:
Andrew Morgan
2021-08-04 09:46:39 +01:00
committed by GitHub
parent a07df5e9d8
commit c9c8177f58
3 changed files with 8 additions and 1 deletions

View File

@@ -930,6 +930,8 @@ export default class CallHandler extends EventEmitter {
action: 'view_room',
room_id: roomId,
});
await this.placeCall(roomId, PlaceCallType.Voice, null);
}
private async startTransferToPhoneNumber(call: MatrixCall, destination: string, consultFirst: boolean) {