mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
update contextForEntries
This commit is contained in:
parent
2f4c0623d0
commit
ca1831fef6
@ -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 New Issue
Block a user