diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-12-10 12:01:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-10 12:01:34 -0800 |
commit | 28fa5e4919ccf24073ccc92d88efb7e4b73b0b2b (patch) | |
tree | df35206692d0d1adce2a32a2ba8188fb4ac5ad26 /src/view/com/post-thread/PostThread.tsx | |
parent | f5d014d4c7b42213e41f2cbc75d318e6462e6995 (diff) | |
download | voidsky-28fa5e4919ccf24073ccc92d88efb7e4b73b0b2b.tar.zst |
Add "Who can reply" controls [WIP] (#1954)
* Add threadgating * UI improvements * More ui work * Remove comment * Tweak colors * Add missing keys * Tweak sizing * Only show composer option on non-reply * Flex wrap fix * Move the threadgate control to the top of the composer
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r-- | src/view/com/post-thread/PostThread.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx index cf43d2055..633968c87 100644 --- a/src/view/com/post-thread/PostThread.tsx +++ b/src/view/com/post-thread/PostThread.tsx @@ -468,7 +468,7 @@ function* flattenThreadSkeleton( yield PARENT_SPINNER } yield node - if (node.ctx.isHighlightedPost) { + if (node.ctx.isHighlightedPost && !node.post.viewer?.replyDisabled) { yield REPLY_PROMPT } if (node.replies?.length) { |