diff --git a/src/components/structures/TimelinePanel.tsx b/src/components/structures/TimelinePanel.tsx index 9a822ef18d..aa81c7c63d 100644 --- a/src/components/structures/TimelinePanel.tsx +++ b/src/components/structures/TimelinePanel.tsx @@ -1331,8 +1331,12 @@ class TimelinePanel extends React.Component { private checkForPreJoinUISI(events: MatrixEvent[]): number { const room = this.props.timelineSet.room; - if (events.length === 0 || !room || - !MatrixClientPeg.get().isRoomEncrypted(room.roomId)) { + const isThreadTimeline = [TimelineRenderingType.Thread, TimelineRenderingType.ThreadsList] + .includes(this.context.timelineRenderingType); + if (events.length === 0 + || !room + || !MatrixClientPeg.get().isRoomEncrypted(room.roomId) + || isThreadTimeline) { return 0; }