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

Revert "Ignore party ID if opponent is v0"

This commit is contained in:
David Baker
2020-12-21 13:48:06 +00:00
committed by GitHub
parent ef392785e8
commit 7046fa3224
5 changed files with 8 additions and 78 deletions

View File

@@ -180,9 +180,6 @@ function keyFromRecoverySession(session, decryptionKey) {
* @param {boolean} [opts.forceTURN]
* Optional. Whether relaying calls through a TURN server should be forced.
*
* @param {boolean} [opts.supportsTransfer]
* Optional. True to advertise support for call transfers to other parties on Matrix calls.
*
* @param {boolean} [opts.fallbackICEServerAllowed]
* Optional. Whether to allow a fallback ICE server should be used for negotiating a
* WebRTC connection if the homeserver doesn't provide any servers. Defaults to false.
@@ -367,7 +364,6 @@ export function MatrixClient(opts) {
this._cryptoCallbacks = opts.cryptoCallbacks || {};
this._forceTURN = opts.forceTURN || false;
this._supportsTransfer = opts.supportsTransfer || false;
this._fallbackICEServerAllowed = opts.fallbackICEServerAllowed || false;
// List of which rooms have encryption enabled: separate from crypto because
@@ -700,14 +696,6 @@ MatrixClient.prototype.setForceTURN = function(forceTURN) {
this._forceTURN = forceTURN;
};
/**
* Set whether to advertise trabsfer support to other parties on Matrix calls.
* @param {bool} supportsTransfer True to advertise the 'm.call.transeree' capability
*/
MatrixClient.prototype.setSupportsTransfer = function(supportsTransfer) {
this._supportsTransfer = supportsTransfer;
};
/**
* Get the current sync state.
* @return {?string} the sync state, which may be null.