fixing moderation blur gap when replying via the thread feed (#7783)
This commit is contained in:
@@ -406,10 +406,11 @@ export function PostThread({uri}: {uri: string | undefined}) {
|
|||||||
text: thread.record.text,
|
text: thread.record.text,
|
||||||
author: thread.post.author,
|
author: thread.post.author,
|
||||||
embed: thread.post.embed,
|
embed: thread.post.embed,
|
||||||
|
moderation: threadModerationCache.get(thread),
|
||||||
},
|
},
|
||||||
onPost: onPostReply,
|
onPost: onPostReply,
|
||||||
})
|
})
|
||||||
}, [openComposer, thread, onPostReply])
|
}, [openComposer, thread, onPostReply, threadModerationCache])
|
||||||
|
|
||||||
const canReply = !error && rootPost && !rootPost.viewer?.replyDisabled
|
const canReply = !error && rootPost && !rootPost.viewer?.replyDisabled
|
||||||
const hasParents =
|
const hasParents =
|
||||||
|
|||||||
Reference in New Issue
Block a user