forked from mystiq/hydrogen-web
forgot await, this broke updating the timeline when fetching key backup
This commit is contained in:
parent
423a0664cd
commit
aa23672694
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ export class Room extends EventEmitter {
|
||||||
this._storage.storeNames.timelineEvents,
|
this._storage.storeNames.timelineEvents,
|
||||||
this._storage.storeNames.inboundGroupSessions,
|
this._storage.storeNames.inboundGroupSessions,
|
||||||
]);
|
]);
|
||||||
const retryEntries = this._getRetryDecryptEntriesForKey(roomKey, txn);
|
const retryEntries = await this._getRetryDecryptEntriesForKey(roomKey, txn);
|
||||||
if (retryEntries.length) {
|
if (retryEntries.length) {
|
||||||
const decryptRequest = this._decryptEntries(DecryptionSource.Retry, retryEntries, txn);
|
const decryptRequest = this._decryptEntries(DecryptionSource.Retry, retryEntries, txn);
|
||||||
// this will close txn while awaiting decryption
|
// this will close txn while awaiting decryption
|
||||||
|
|
Loading…
Reference in a new issue