mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
forgot to pass account
This commit is contained in:
parent
e22131bf57
commit
1f8005cdfd
@ -67,7 +67,7 @@ export class Decryption {
|
|||||||
const payloads = results.reduce((all, r) => all.concat(r.payloads), []);
|
const payloads = results.reduce((all, r) => all.concat(r.payloads), []);
|
||||||
const errors = results.reduce((all, r) => all.concat(r.errors), []);
|
const errors = results.reduce((all, r) => all.concat(r.errors), []);
|
||||||
const senderKeyDecryptions = results.map(r => r.senderKeyDecryption);
|
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) {
|
} catch (err) {
|
||||||
// make sure the locks are release if something throws
|
// make sure the locks are release if something throws
|
||||||
for (const lock of locks) {
|
for (const lock of locks) {
|
||||||
|
Loading…
Reference in New Issue
Block a user