1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Appease the linter

This commit is contained in:
Travis Ralston
2020-01-30 11:15:25 +00:00
parent 769bfeb10f
commit 3645764f9a

View File

@@ -76,7 +76,8 @@ export class ReciprocateQRCode extends Base {
const masterKey = xsignInfo.getId("master");
const masterKeyId = `ed25519:${masterKey}`;
await this._verifyKeys(this.userId, {[masterKeyId]:masterKey}, (keyId, device, keyInfo) => {
const keys = {[masterKeyId]: masterKey};
await this._verifyKeys(this.userId, keys, (keyId, device, keyInfo) => {
if (keyInfo !== masterKey) {
console.error("key ID from key info does not match");
throw newKeyMismatchError();