Bluesky app fork with some witchin' additions 💫

Revert "Fix undefined block (#4471)" (#4472)

This reverts commit 7cac413f3b397fee95681033f075d51c7c4ee153.

authored by

Eric Bailey and committed by
GitHub
848151c4 7cac413f

+4 -22
+3 -6
src/components/ProfileHoverCard/index.web.tsx
··· 370 370 profile: profileShadow, 371 371 logContext: 'ProfileHoverCard', 372 372 }) 373 - const isProfileBlocked = 374 - profile.viewer?.blocking || 375 - profile.viewer?.blockedBy || 376 - profile.viewer?.blockingByList 373 + const blockHide = profile.viewer?.blocking || profile.viewer?.blockedBy 377 374 const following = formatCount(profile.followsCount || 0) 378 375 const followers = formatCount(profile.followersCount || 0) 379 376 const pluralizedFollowers = plural(profile.followersCount || 0, { ··· 404 401 /> 405 402 </Link> 406 403 407 - {!isMe && !isProfileBlocked && ( 404 + {!isMe && ( 408 405 <Button 409 406 size="small" 410 407 color={profileShadow.viewer?.following ? 'secondary' : 'primary'} ··· 442 439 </View> 443 440 </Link> 444 441 445 - {!isProfileBlocked && ( 442 + {!blockHide && ( 446 443 <> 447 444 <View style={[a.flex_row, a.flex_wrap, a.gap_md, a.pt_xs]}> 448 445 <InlineLinkText
+1 -16
src/view/com/posts/FeedItem.tsx
··· 196 196 }, 197 197 ] 198 198 199 - const isParentBlocked = Boolean( 200 - parentAuthor?.viewer?.blockedBy || 201 - parentAuthor?.viewer?.blocking || 202 - parentAuthor?.viewer?.blockingByList, 203 - ) 204 - 205 199 return ( 206 200 <Link 207 201 testID={`feedItem-by-${post.author.handle}`} ··· 326 320 onOpenAuthor={onOpenAuthor} 327 321 /> 328 322 {!isThreadChild && showReplyTo && parentAuthor && ( 329 - <ReplyToLabel 330 - profile={ 331 - isParentBlocked 332 - ? { 333 - ...parentAuthor, 334 - displayName: _(msg`a blocked user`), 335 - } 336 - : parentAuthor 337 - } 338 - /> 323 + <ReplyToLabel profile={parentAuthor} /> 339 324 )} 340 325 <LabelsOnMyPost post={post} /> 341 326 <PostContent