1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00
This commit is contained in:
David Baker
2019-11-07 12:35:39 +00:00
parent a34758f938
commit fabfe16d45
2 changed files with 1 additions and 2 deletions

View File

@@ -657,7 +657,7 @@ Crypto.prototype._checkDeviceVerifications = async function(userId) {
const usersToUpgrade = await shouldUpgradeCb({
users: {
[userId]: upgradeInfo,
}
},
});
if (usersToUpgrade.includes(userId)) {
await this._baseApis.setDeviceVerified(