Skip to content

Commit dadac38

Browse files
authored
Display threads relation as replies when labs is disabled (matrix-org#7109)
1 parent 1de9630 commit dadac38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/views/elements/ReplyChain.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ export default class ReplyChain extends React.Component<IProps, IState> {
110110
if (mRelatesTo && mRelatesTo['m.in_reply_to']) {
111111
const mInReplyTo = mRelatesTo['m.in_reply_to'];
112112
if (mInReplyTo && mInReplyTo['event_id']) return mInReplyTo['event_id'];
113+
} else if (!SettingsStore.getValue("feature_thread") && ev.isThreadRelation) {
114+
return ev.threadRootId;
113115
}
114116
}
115117

0 commit comments

Comments
 (0)