Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove shadowed follow gate handling (#7774)

authored by

Eric Bailey and committed by
GitHub
f23a621c da45c42b

+1 -10
+1 -10
src/view/com/util/post-ctrls/PostCtrls.tsx
··· 26 26 import {shareUrl} from '#/lib/sharing' 27 27 import {useGate} from '#/lib/statsig/statsig' 28 28 import {toShareUrl} from '#/lib/strings/url-helpers' 29 - import {useProfileShadow} from '#/state/cache/profile-shadow' 30 29 import {Shadow} from '#/state/cache/types' 31 30 import {useFeedFeedbackContext} from '#/state/feed-feedback' 32 31 import { ··· 94 93 post.author.viewer?.blockedBy || 95 94 post.author.viewer?.blockingByList, 96 95 ) 97 - 98 - const shadowedAuthor = useProfileShadow(post.author) 99 - const followersCanReply = !!threadgateRecord?.allow?.find( 100 - rule => rule.$type === 'app.bsky.feed.threadgate#followerRule', 101 - ) 102 - const canOverrideReplyDisabled = 103 - followersCanReply && 104 - shadowedAuthor.viewer?.following?.startsWith('at://did') 105 - const replyDisabled = post.viewer?.replyDisabled && !canOverrideReplyDisabled 96 + const replyDisabled = post.viewer?.replyDisabled 106 97 107 98 const shouldShowLoggedOutWarning = React.useMemo(() => { 108 99 return (