mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Don't pass relatedEntry in param
This commit is contained in:
parent
66fa8d84a7
commit
93bbeee400
@ -275,7 +275,7 @@ export class Timeline {
|
||||
if (relatedEntry?.addRelation(entry)) {
|
||||
// update other entries for which this entry is a context entry
|
||||
relatedEntry.contextForEntries?.forEach(e => {
|
||||
this._remoteEntries.findAndUpdate(te => te.id === e.id, () => { return { reply: relatedEntry }; });
|
||||
this._remoteEntries.findAndUpdate(te => te.id === e.id, () => true);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user