mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 04:27:40 +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)) {
|
if (relatedEntry?.addRelation(entry)) {
|
||||||
// update other entries for which this entry is a context entry
|
// update other entries for which this entry is a context entry
|
||||||
relatedEntry.contextForEntries?.forEach(e => {
|
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…
x
Reference in New Issue
Block a user