diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 25a8e8e30..bcc806b89 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -14,7 +14,7 @@ class AccountsController < ApplicationController unless current_account && current_account.id == @account.id not_found if @account.hidden if @account&.user && @account.user.hides_public_profile? - not_found unless current_account && current_account.following?(@account)) + not_found unless current_account && current_account.following?(@account) end end mark_cacheable! unless user_signed_in?