1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Rename other supportsTransfers

This commit is contained in:
David Baker
2021-01-05 17:11:49 +00:00
parent 489d188966
commit b34a36d853
2 changed files with 3 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ export interface ICreateClientOpts {
unstableClientRelationAggregation?: boolean; unstableClientRelationAggregation?: boolean;
verificationMethods?: Array<any>; verificationMethods?: Array<any>;
forceTURN?: boolean; forceTURN?: boolean;
supportsTransfer?: boolean, supportsCallTransfer?: boolean,
fallbackICEServerAllowed?: boolean; fallbackICEServerAllowed?: boolean;
cryptoCallbacks?: ICryptoCallbacks; cryptoCallbacks?: ICryptoCallbacks;
} }

View File

@@ -793,7 +793,7 @@ export class MatrixCall extends EventEmitter {
}, },
} as MCallAnswer; } as MCallAnswer;
if (this.client._supportsTransfer) { if (this.client._supportsCallTransfer) {
answerContent.capabilities = { answerContent.capabilities = {
'm.call.transferee': true, 'm.call.transferee': true,
} }
@@ -1129,7 +1129,7 @@ export class MatrixCall extends EventEmitter {
content.description = this.peerConn.localDescription; content.description = this.peerConn.localDescription;
} }
if (this.client._supportsTransfer) { if (this.client._supportsCallTransfer) {
content.capabilities = { content.capabilities = {
'm.call.transferee': true, 'm.call.transferee': true,
} }