Skip to content

Commit 39e1b54

Browse files
committed
Ensure thread events in all timelines can be found
1 parent 5804fa5 commit 39e1b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/room.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ export class Room extends ReadReceipt<RoomEmittedEvents, RoomEventHandlerMap> {
12231223
const event = this.findEventById(eventId);
12241224
const thread = this.findThreadForEvent(event);
12251225
if (thread) {
1226-
return thread.timelineSet.getLiveTimeline();
1226+
return thread.timelineSet.getTimelineForEvent(eventId);
12271227
} else {
12281228
return this.getUnfilteredTimelineSet().getTimelineForEvent(eventId);
12291229
}

0 commit comments

Comments
 (0)