From 71a4a92ddad876c42430baed3a0f3ae1983e6f26 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 30 May 2025 10:33:52 +0200 Subject: [PATCH] Fix featured posts and familiar followers showing up on hidden accounts (#34855) --- .../features/account_timeline/components/account_header.tsx | 2 +- app/javascript/mastodon/features/account_timeline/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/mastodon/features/account_timeline/components/account_header.tsx b/app/javascript/mastodon/features/account_timeline/components/account_header.tsx index 576052ae71..2c001a92f5 100644 --- a/app/javascript/mastodon/features/account_timeline/components/account_header.tsx +++ b/app/javascript/mastodon/features/account_timeline/components/account_header.tsx @@ -912,7 +912,7 @@ export const AccountHeader: React.FC<{
{badges}
)} - {account.id !== me && signedIn && ( + {account.id !== me && signedIn && !(suspended || hidden) && ( )} diff --git a/app/javascript/mastodon/features/account_timeline/index.jsx b/app/javascript/mastodon/features/account_timeline/index.jsx index fbccdfb6f3..7f4b546904 100644 --- a/app/javascript/mastodon/features/account_timeline/index.jsx +++ b/app/javascript/mastodon/features/account_timeline/index.jsx @@ -173,7 +173,7 @@ class AccountTimeline extends ImmutablePureComponent { prepend={ <> - + {!forceEmptyState && } } alwaysPrepend