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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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) {