mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
forgot await, this broke updating the timeline when fetching key backup
This commit is contained in:
parent
423a0664cd
commit
aa23672694
@ -83,7 +83,7 @@ export class Room extends EventEmitter {
|
||||
this._storage.storeNames.timelineEvents,
|
||||
this._storage.storeNames.inboundGroupSessions,
|
||||
]);
|
||||
const retryEntries = this._getRetryDecryptEntriesForKey(roomKey, txn);
|
||||
const retryEntries = await this._getRetryDecryptEntriesForKey(roomKey, txn);
|
||||
if (retryEntries.length) {
|
||||
const decryptRequest = this._decryptEntries(DecryptionSource.Retry, retryEntries, txn);
|
||||
// this will close txn while awaiting decryption
|
||||
|
Loading…
Reference in New Issue
Block a user