can only look in remote entries here as PEEs never return an event id
This commit is contained in:
parent
5e9ce365bf
commit
2da7ef4280
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ export class Timeline {
|
||||||
if (!foundInLocalEntries && pe.relatedEventId) {
|
if (!foundInLocalEntries && pe.relatedEventId) {
|
||||||
// TODO: ideally iterate in reverse as target is likely to be most recent,
|
// TODO: ideally iterate in reverse as target is likely to be most recent,
|
||||||
// but not easy through ObservableList contract
|
// but not easy through ObservableList contract
|
||||||
for (const entry of this._allEntries) {
|
for (const entry of this._remoteEntries) {
|
||||||
if (pe.relatedEventId === entry.id) {
|
if (pe.relatedEventId === entry.id) {
|
||||||
const params = updater(entry);
|
const params = updater(entry);
|
||||||
if (params) {
|
if (params) {
|
||||||
|
|
Reference in a new issue