Skip to content

Commit 6d0f4e5

Browse files
author
Germain
authored
Fix notification panel not loading (#2283)
1 parent 781fdf4 commit 6d0f4e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5434,10 +5434,10 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
54345434
matrixEvents[i] = event;
54355435
}
54365436

5437+
// No need to partition events for threads here, everything lives
5438+
// in the notification timeline set
54375439
const timelineSet = eventTimeline.getTimelineSet();
5438-
const [timelineEvents, threadedEvents] = timelineSet.room.partitionThreadedEvents(matrixEvents);
5439-
timelineSet.addEventsToTimeline(timelineEvents, backwards, eventTimeline, token);
5440-
await this.processThreadEvents(timelineSet.room, threadedEvents, backwards);
5440+
timelineSet.addEventsToTimeline(matrixEvents, backwards, eventTimeline, token);
54415441

54425442
// if we've hit the end of the timeline, we need to stop trying to
54435443
// paginate. We need to keep the 'forwards' token though, to make sure

0 commit comments

Comments
 (0)