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, }