From 459611ca7a0d1559e3c9373ef9a61ea8e4c1e2f7 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 11 Feb 2025 16:07:10 -0600 Subject: [APP-1031] Add new followerRule to threadgate settings (#7681) * Add new followerRule to threadgate settings * Handle WhoCanReply copy * Handle follow case * fix ci * Revert "Handle follow case" This reverts commit bc454dad896fe577bec91f3d65d971ad9e0fec8d. * Hide Follow button if followedBy rule enabled * Revert "Revert "Handle follow case"" This reverts commit cadc46d2dc50120424ed460943775c58efc59c4d. --------- Co-authored-by: Samuel Newman --- src/components/WhoCanReply.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/components/WhoCanReply.tsx') diff --git a/src/components/WhoCanReply.tsx b/src/components/WhoCanReply.tsx index 34ac3fe5b..7d74a50c6 100644 --- a/src/components/WhoCanReply.tsx +++ b/src/components/WhoCanReply.tsx @@ -258,6 +258,19 @@ function Rule({ if (rule.type === 'mention') { return mentioned users } + if (rule.type === 'followers') { + return ( + + users following{' '} + + @{post.author.handle} + + + ) + } if (rule.type === 'following') { return ( -- cgit 1.4.1