mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
Remove dead code
This commit is contained in:
parent
63b6564f70
commit
fda211e7b3
@ -289,8 +289,10 @@ export class Timeline {
|
|||||||
for (const entry of entries) {
|
for (const entry of entries) {
|
||||||
const fetchedEntry = this._contextEntriesNotInTimeline.get(entry.id);
|
const fetchedEntry = this._contextEntriesNotInTimeline.get(entry.id);
|
||||||
if (fetchedEntry) {
|
if (fetchedEntry) {
|
||||||
fetchedEntry.contextForEntries.forEach(e => e.setContextEntry(entry));
|
fetchedEntry.contextForEntries.forEach(e => {
|
||||||
entry.updateFrom(fetchedEntry);
|
e.setContextEntry(entry);
|
||||||
|
this._updateEntry(e);
|
||||||
|
});
|
||||||
this._contextEntriesNotInTimeline.delete(entry.id);
|
this._contextEntriesNotInTimeline.delete(entry.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user