From 4752ee6f877636d9824a3b42912d2c72401f3756 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 7 Dec 2023 16:26:12 +0000 Subject: [PATCH] Fix notifications appearing for old events 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