mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
findAndUpdate instead of update
This commit is contained in:
parent
7a91dd9595
commit
287212956b
@ -287,7 +287,7 @@ export class Timeline {
|
|||||||
contextEvent.addDependent(entry);
|
contextEvent.addDependent(entry);
|
||||||
entry.setContextEntry(contextEvent);
|
entry.setContextEntry(contextEvent);
|
||||||
// emit this change
|
// emit this change
|
||||||
this._remoteEntries.update(entry);
|
this._findAndUpdateRelatedEntry(null, entry.id, () => true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user