mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Move line into if
This commit is contained in:
parent
c6484f1eac
commit
0a09a50ab9
@ -230,8 +230,8 @@ export class Timeline {
|
||||
const oldEntry = this._contextEntriesNotInTimeline.get(entry.id)
|
||||
if (oldEntry) {
|
||||
Timeline._entryUpdater(oldEntry, entry);
|
||||
this._contextEntriesNotInTimeline.set(entry.id, entry);
|
||||
}
|
||||
this._contextEntriesNotInTimeline.set(entry.id, entry);
|
||||
// Since this entry changed, all dependent entries should be updated
|
||||
entry.contextForEntries?.forEach(e => this._updateEntry(e));
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user