You've already forked matrix-js-sdk
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user