mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
Improve comment
This commit is contained in:
parent
4a81e06e96
commit
7a91dd9595
@ -281,7 +281,7 @@ export class Timeline {
|
|||||||
if (contextEvent) {
|
if (contextEvent) {
|
||||||
if (needToTrack) {
|
if (needToTrack) {
|
||||||
// this entry was created from storage/hs, so it's not tracked by remoteEntries
|
// this entry was created from storage/hs, so it's not tracked by remoteEntries
|
||||||
// we track them here for redactions
|
// we track them here so that we can update reply preview of dependents on redaction
|
||||||
this._fetchedEventEntries.push(contextEvent);
|
this._fetchedEventEntries.push(contextEvent);
|
||||||
}
|
}
|
||||||
contextEvent.addDependent(entry);
|
contextEvent.addDependent(entry);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user