From eda15e11418b28b664845ee492228ece27dc1b37 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 3 Sep 2020 15:27:40 +0200 Subject: [PATCH] forgot to remove this after extracting function --- src/matrix/e2ee/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/e2ee/common.js b/src/matrix/e2ee/common.js index 9b3b2f26..3312032b 100644 --- a/src/matrix/e2ee/common.js +++ b/src/matrix/e2ee/common.js @@ -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);