From 2cd63ca4b90eb2e4d22b45ae281a81c4514e757a Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 7 Dec 2023 17:03:01 +0000 Subject: [PATCH] Fix notifications appearing for old events (#3946) A method that we use for fetching recursive related events on homeservers without MSC3981 support injects events into the timeline in timestamp order using a special method on event-timeline-set. Injecting events using this method could cause on-screen notifications because it incorrectly set the 'liveEvent' flag to true if the events were added tio the live timeline. These events are never live though as the point is that we're fetching them. --- src/models/event-timeline-set.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/models/event-timeline-set.ts b/src/models/event-timeline-set.ts index 3fce566e7a5..b23b5ca169e 100644 --- a/src/models/event-timeline-set.ts +++ b/src/models/event-timeline-set.ts @@ -839,7 +839,10 @@ export class EventTimelineSet extends TypedEventEmitter