Display threads relation as replies when labs is disabled (#7109)
parent
1de9630e44
commit
dadac386fe
|
@ -110,6 +110,8 @@ export default class ReplyChain extends React.Component<IProps, IState> {
|
||||||
if (mRelatesTo && mRelatesTo['m.in_reply_to']) {
|
if (mRelatesTo && mRelatesTo['m.in_reply_to']) {
|
||||||
const mInReplyTo = mRelatesTo['m.in_reply_to'];
|
const mInReplyTo = mRelatesTo['m.in_reply_to'];
|
||||||
if (mInReplyTo && mInReplyTo['event_id']) return mInReplyTo['event_id'];
|
if (mInReplyTo && mInReplyTo['event_id']) return mInReplyTo['event_id'];
|
||||||
|
} else if (!SettingsStore.getValue("feature_thread") && ev.isThreadRelation) {
|
||||||
|
return ev.threadRootId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue