this is shorter
This commit is contained in:
parent
3325f12092
commit
bce46daa9c
1 changed files with 2 additions and 3 deletions
|
@ -68,9 +68,8 @@ export class Room extends EventEmitter {
|
|||
}
|
||||
const decryptRequest = this._decryptEntries(DecryptionSource.Retry, retryEntries, txn);
|
||||
await decryptRequest.complete();
|
||||
if (this._timeline) {
|
||||
// only adds if already present
|
||||
this._timeline.replaceEntries(retryEntries);
|
||||
|
||||
this._timeline?.replaceEntries(retryEntries);
|
||||
}
|
||||
// pass decryptedEntries to roomSummary
|
||||
}
|
||||
|
|
Reference in a new issue