From be75e00d21fa988a1c73b1a994a5ee4426bf55c9 Mon Sep 17 00:00:00 2001
From: Eric Bailey <git@esb.lol>
Date: Mon, 14 Jul 2025 11:37:23 -0500
Subject: Only show WhoCanReply on root post (#8645)

---
 src/screens/PostThread/components/ThreadItemAnchor.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/screens/PostThread/components/ThreadItemAnchor.tsx')

diff --git a/src/screens/PostThread/components/ThreadItemAnchor.tsx b/src/screens/PostThread/components/ThreadItemAnchor.tsx
index 23a92bc28..481c335db 100644
--- a/src/screens/PostThread/components/ThreadItemAnchor.tsx
+++ b/src/screens/PostThread/components/ThreadItemAnchor.tsx
@@ -510,6 +510,7 @@ function ExpandedPostDetails({
   const t = useTheme()
   const {_, i18n} = useLingui()
   const openLink = useOpenLink()
+  const isRootPost = !('reply' in post.record)
   const langPrefs = useLanguagePrefs()
 
   const translatorUrl = getTranslatorLink(
@@ -555,7 +556,9 @@ function ExpandedPostDetails({
         <Text style={[a.text_sm, t.atoms.text_contrast_medium]}>
           {niceDate(i18n, post.indexedAt)}
         </Text>
-        <WhoCanReply post={post} isThreadAuthor={isThreadAuthor} />
+        {isRootPost && (
+          <WhoCanReply post={post} isThreadAuthor={isThreadAuthor} />
+        )}
         {needsTranslation && (
           <>
             <Text style={[a.text_sm, t.atoms.text_contrast_medium]}>
-- 
cgit 1.4.1

