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) {