update contextForEntries

This commit is contained in:
RMidhunSuresh 2022-01-13 14:38:05 +05:30
parent 2f4c0623d0
commit ca1831fef6

View file

@ -141,6 +141,7 @@ export class Timeline {
// redactingEntry might be a PendingEventEntry or an EventEntry, so don't assume pendingEvent
const relatedTxnId = pee.redactingEntry.pendingEvent?.relatedTxnId;
this._findAndUpdateEntryById(relatedTxnId, pee.redactingEntry.relatedEventId, updateOrFalse);
pee.redactingEntry.contextForEntries?.forEach(e => this._emitUpdateForEntry(e));
}
}