forgot to remove this after extracting function

This commit is contained in:
Bruno Windels 2020-09-03 15:27:40 +02:00
parent 8d64fa54fe
commit eda15e1141

View file

@ -43,7 +43,7 @@ export function verifyEd25519Signature(olmUtil, userId, deviceOrKeyId, ed25519Ke
throw new Error("no signature");
}
// throws when signature is invalid
this._olmUtil.ed25519_verify(ed25519Key, canonicalJson, signature);
olmUtil.ed25519_verify(ed25519Key, canonicalJson, signature);
return true;
} catch (err) {
console.warn("Invalid signature, ignoring.", ed25519Key, canonicalJson, signature, err);