Don't pass relatedEntry in param

This commit is contained in:
RMidhunSuresh 2022-01-11 11:49:06 +05:30
parent 66fa8d84a7
commit 93bbeee400

View file

@ -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);
});
}
}