diff options
author | Starfall <us@starfall.systems> | 2020-10-08 20:34:20 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2020-10-08 20:34:20 -0500 |
commit | 220958fc9fff236e61560f20079be28dea7e23fc (patch) | |
tree | 6a0f4588fc367462e82d5304b1eab9cf5c890445 /app/controllers/api/v1/accounts/follower_accounts_controller.rb | |
parent | 4966c6cc24107c728fe8e0de7ffc4d0a8cc5510d (diff) | |
parent | cd861c051ce5500df49d2fc41b2a6084faa34620 (diff) |
Merge branch 'glitch' into main
Diffstat (limited to 'app/controllers/api/v1/accounts/follower_accounts_controller.rb')
-rw-r--r-- | app/controllers/api/v1/accounts/follower_accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/accounts/follower_accounts_controller.rb b/app/controllers/api/v1/accounts/follower_accounts_controller.rb index ff7478618..dbb8cac5e 100644 --- a/app/controllers/api/v1/accounts/follower_accounts_controller.rb +++ b/app/controllers/api/v1/accounts/follower_accounts_controller.rb @@ -25,7 +25,7 @@ class Api::V1::Accounts::FollowerAccountsController < Api::BaseController end def hide_results? - !user_signed_in? || (@account.hides_followers? && current_account&.id != @account.id) || (current_account && @account.blocking?(current_account)) + !user_signed_in? || @account.suspended? || (@account.hides_followers? && current_account&.id != @account.id) || (current_account && @account.blocking?(current_account)) end def default_accounts |