From dadac386fedec56021e598998b4d1476ccf0e6d4 Mon Sep 17 00:00:00 2001 From: Germain Date: Thu, 11 Nov 2021 12:28:56 +0000 Subject: [PATCH] Display threads relation as replies when labs is disabled (#7109) --- src/components/views/elements/ReplyChain.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/views/elements/ReplyChain.tsx b/src/components/views/elements/ReplyChain.tsx index 50efdc92fb..481a8c870b 100644 --- a/src/components/views/elements/ReplyChain.tsx +++ b/src/components/views/elements/ReplyChain.tsx @@ -110,6 +110,8 @@ export default class ReplyChain extends React.Component { 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; } }