mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Display threads relation as replies when labs is disabled (#7109)
This commit is contained in:
parent
1de9630e44
commit
dadac386fe
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue