mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
this is shorter
This commit is contained in:
parent
3325f12092
commit
bce46daa9c
@ -68,9 +68,8 @@ export class Room extends EventEmitter {
|
|||||||
}
|
}
|
||||||
const decryptRequest = this._decryptEntries(DecryptionSource.Retry, retryEntries, txn);
|
const decryptRequest = this._decryptEntries(DecryptionSource.Retry, retryEntries, txn);
|
||||||
await decryptRequest.complete();
|
await decryptRequest.complete();
|
||||||
if (this._timeline) {
|
|
||||||
// only adds if already present
|
this._timeline?.replaceEntries(retryEntries);
|
||||||
this._timeline.replaceEntries(retryEntries);
|
|
||||||
}
|
}
|
||||||
// pass decryptedEntries to roomSummary
|
// pass decryptedEntries to roomSummary
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user