forked from mystiq/hydrogen-web
update contextForEntries
This commit is contained in:
parent
2f4c0623d0
commit
ca1831fef6
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ export class Timeline {
|
||||||
// redactingEntry might be a PendingEventEntry or an EventEntry, so don't assume pendingEvent
|
// redactingEntry might be a PendingEventEntry or an EventEntry, so don't assume pendingEvent
|
||||||
const relatedTxnId = pee.redactingEntry.pendingEvent?.relatedTxnId;
|
const relatedTxnId = pee.redactingEntry.pendingEvent?.relatedTxnId;
|
||||||
this._findAndUpdateEntryById(relatedTxnId, pee.redactingEntry.relatedEventId, updateOrFalse);
|
this._findAndUpdateEntryById(relatedTxnId, pee.redactingEntry.relatedEventId, updateOrFalse);
|
||||||
|
pee.redactingEntry.contextForEntries?.forEach(e => this._emitUpdateForEntry(e));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue