forked from mystiq/hydrogen-web
Remove dead code
This commit is contained in:
parent
63b6564f70
commit
fda211e7b3
1 changed files with 4 additions and 2 deletions
|
@ -289,8 +289,10 @@ export class Timeline {
|
|||
for (const entry of entries) {
|
||||
const fetchedEntry = this._contextEntriesNotInTimeline.get(entry.id);
|
||||
if (fetchedEntry) {
|
||||
fetchedEntry.contextForEntries.forEach(e => e.setContextEntry(entry));
|
||||
entry.updateFrom(fetchedEntry);
|
||||
fetchedEntry.contextForEntries.forEach(e => {
|
||||
e.setContextEntry(entry);
|
||||
this._updateEntry(e);
|
||||
});
|
||||
this._contextEntriesNotInTimeline.delete(entry.id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue