about summary refs log tree commit diff
path: root/src/view/com/post-thread
diff options
context:
space:
mode:
authorSeth Wood <sethlwood@me.com>2025-03-06 10:10:39 -0800
committerGitHub <noreply@github.com>2025-03-06 12:10:39 -0600
commitda2b6f4797f55d4c2437f4ad32c94777eacfbf2c (patch)
treea710749344fe07896eef67e9ef17ff90aade5393 /src/view/com/post-thread
parent1c16c6ef0aadab784efa76d5d283f01ec9bf5d40 (diff)
downloadvoidsky-da2b6f4797f55d4c2437f4ad32c94777eacfbf2c.tar.zst
fixing moderation blur gap when replying via the thread feed (#7783)
Diffstat (limited to 'src/view/com/post-thread')
-rw-r--r--src/view/com/post-thread/PostThread.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx
index ca77e3404..3c737a2f4 100644
--- a/src/view/com/post-thread/PostThread.tsx
+++ b/src/view/com/post-thread/PostThread.tsx
@@ -406,10 +406,11 @@ export function PostThread({uri}: {uri: string | undefined}) {
         text: thread.record.text,
         author: thread.post.author,
         embed: thread.post.embed,
+        moderation: threadModerationCache.get(thread),
       },
       onPost: onPostReply,
     })
-  }, [openComposer, thread, onPostReply])
+  }, [openComposer, thread, onPostReply, threadModerationCache])
 
   const canReply = !error && rootPost && !rootPost.viewer?.replyDisabled
   const hasParents =