From 1f8005cdfd28c6955c13389421cc3bb9b6a42281 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 3 Sep 2020 15:28:38 +0200 Subject: [PATCH] forgot to pass account --- src/matrix/e2ee/olm/Decryption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/e2ee/olm/Decryption.js b/src/matrix/e2ee/olm/Decryption.js index c21c4b3d..5f4c7de3 100644 --- a/src/matrix/e2ee/olm/Decryption.js +++ b/src/matrix/e2ee/olm/Decryption.js @@ -67,7 +67,7 @@ export class Decryption { const payloads = results.reduce((all, r) => all.concat(r.payloads), []); const errors = results.reduce((all, r) => all.concat(r.errors), []); const senderKeyDecryptions = results.map(r => r.senderKeyDecryption); - return new DecryptionChanges(senderKeyDecryptions, payloads, errors, locks); + return new DecryptionChanges(senderKeyDecryptions, payloads, errors, this._account, locks); } catch (err) { // make sure the locks are release if something throws for (const lock of locks) {