You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
lint
This commit is contained in:
@@ -689,7 +689,6 @@ describe("Cross Signing", function() {
|
|||||||
const bob = await makeTestClient(
|
const bob = await makeTestClient(
|
||||||
{userId: "@bob:example.com", deviceId: "Dynabook"},
|
{userId: "@bob:example.com", deviceId: "Dynabook"},
|
||||||
);
|
);
|
||||||
const privateKeys = {};
|
|
||||||
|
|
||||||
bob.uploadDeviceSigningKeys = async () => {};
|
bob.uploadDeviceSigningKeys = async () => {};
|
||||||
bob.uploadKeySignatures = async () => {};
|
bob.uploadKeySignatures = async () => {};
|
||||||
|
|||||||
@@ -657,7 +657,7 @@ Crypto.prototype._checkDeviceVerifications = async function(userId) {
|
|||||||
const usersToUpgrade = await shouldUpgradeCb({
|
const usersToUpgrade = await shouldUpgradeCb({
|
||||||
users: {
|
users: {
|
||||||
[userId]: upgradeInfo,
|
[userId]: upgradeInfo,
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
if (usersToUpgrade.includes(userId)) {
|
if (usersToUpgrade.includes(userId)) {
|
||||||
await this._baseApis.setDeviceVerified(
|
await this._baseApis.setDeviceVerified(
|
||||||
|
|||||||
Reference in New Issue
Block a user