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