forgot to pass account

This commit is contained in:
Bruno Windels 2020-09-03 15:28:38 +02:00
parent e22131bf57
commit 1f8005cdfd

View file

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