From b34a36d853efef62e33b09f9dac3e5f4528e6692 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 5 Jan 2021 17:11:49 +0000 Subject: [PATCH] Rename other supportsTransfers --- src/matrix.ts | 2 +- src/webrtc/call.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/matrix.ts b/src/matrix.ts index d2e2ea464..82a137176 100644 --- a/src/matrix.ts +++ b/src/matrix.ts @@ -142,7 +142,7 @@ export interface ICreateClientOpts { unstableClientRelationAggregation?: boolean; verificationMethods?: Array; forceTURN?: boolean; - supportsTransfer?: boolean, + supportsCallTransfer?: boolean, fallbackICEServerAllowed?: boolean; cryptoCallbacks?: ICryptoCallbacks; } diff --git a/src/webrtc/call.ts b/src/webrtc/call.ts index 2151017a8..fbdf45419 100644 --- a/src/webrtc/call.ts +++ b/src/webrtc/call.ts @@ -793,7 +793,7 @@ export class MatrixCall extends EventEmitter { }, } as MCallAnswer; - if (this.client._supportsTransfer) { + if (this.client._supportsCallTransfer) { answerContent.capabilities = { 'm.call.transferee': true, } @@ -1129,7 +1129,7 @@ export class MatrixCall extends EventEmitter { content.description = this.peerConn.localDescription; } - if (this.client._supportsTransfer) { + if (this.client._supportsCallTransfer) { content.capabilities = { 'm.call.transferee': true, }