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 to supportsCallTransfer
to be less ambiguous
This commit is contained in:
@@ -180,7 +180,7 @@ function keyFromRecoverySession(session, decryptionKey) {
|
|||||||
* @param {boolean} [opts.forceTURN]
|
* @param {boolean} [opts.forceTURN]
|
||||||
* Optional. Whether relaying calls through a TURN server should be forced.
|
* Optional. Whether relaying calls through a TURN server should be forced.
|
||||||
*
|
*
|
||||||
* @param {boolean} [opts.supportsTransfer]
|
* @param {boolean} [opts.supportsCallTransfer]
|
||||||
* Optional. True to advertise support for call transfers to other parties on Matrix calls.
|
* Optional. True to advertise support for call transfers to other parties on Matrix calls.
|
||||||
*
|
*
|
||||||
* @param {boolean} [opts.fallbackICEServerAllowed]
|
* @param {boolean} [opts.fallbackICEServerAllowed]
|
||||||
@@ -367,7 +367,7 @@ export function MatrixClient(opts) {
|
|||||||
this._cryptoCallbacks = opts.cryptoCallbacks || {};
|
this._cryptoCallbacks = opts.cryptoCallbacks || {};
|
||||||
|
|
||||||
this._forceTURN = opts.forceTURN || false;
|
this._forceTURN = opts.forceTURN || false;
|
||||||
this._supportsTransfer = opts.supportsTransfer || false;
|
this._supportsCallTransfer = opts.supportsCallTransfer || false;
|
||||||
this._fallbackICEServerAllowed = opts.fallbackICEServerAllowed || false;
|
this._fallbackICEServerAllowed = opts.fallbackICEServerAllowed || false;
|
||||||
|
|
||||||
// List of which rooms have encryption enabled: separate from crypto because
|
// List of which rooms have encryption enabled: separate from crypto because
|
||||||
@@ -702,10 +702,10 @@ MatrixClient.prototype.setForceTURN = function(forceTURN) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set whether to advertise trabsfer support to other parties on Matrix calls.
|
* Set whether to advertise trabsfer support to other parties on Matrix calls.
|
||||||
* @param {bool} supportsTransfer True to advertise the 'm.call.transeree' capability
|
* @param {bool} supportsCallTransfer True to advertise the 'm.call.transeree' capability
|
||||||
*/
|
*/
|
||||||
MatrixClient.prototype.setSupportsTransfer = function(supportsTransfer) {
|
MatrixClient.prototype.setSupportsCallTransfer = function(supportsCallTransfer) {
|
||||||
this._supportsTransfer = supportsTransfer;
|
this._supportsCallTransfer = supportsCallTransfer;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user