about summary refs log tree commit diff
path: root/app/controllers/api/v1/accounts/following_accounts_controller.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-04-01 21:28:31 +0200
committerThibaut Girka <thib@sitedethib.com>2019-04-01 21:28:31 +0200
commit12dae9d58316bec32adaac016998ab1cf69d2b45 (patch)
tree4ddadcc66d07a1edfcfb9ff0f9cda7cf107d6b46 /app/controllers/api/v1/accounts/following_accounts_controller.rb
parent925830d11bb5c132e282f82bdb2ca893d87c9c24 (diff)
parent120544067fcca4bf6e71ba1ffb276c451c17c656 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
- app/models/form/admin_settings.rb
- config/locales/ja.yml
Diffstat (limited to 'app/controllers/api/v1/accounts/following_accounts_controller.rb')
-rw-r--r--app/controllers/api/v1/accounts/following_accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/accounts/following_accounts_controller.rb b/app/controllers/api/v1/accounts/following_accounts_controller.rb
index f3e112f2c..0369cb25e 100644
--- a/app/controllers/api/v1/accounts/following_accounts_controller.rb
+++ b/app/controllers/api/v1/accounts/following_accounts_controller.rb
@@ -25,7 +25,7 @@ class Api::V1::Accounts::FollowingAccountsController < Api::BaseController
   end
 
   def default_accounts
-    Account.includes(:passive_relationships, :account_stat).references(:passive_relationships)
+    Account.without_blocking(current_account).includes(:passive_relationships, :account_stat).references(:passive_relationships)
   end
 
   def paginated_follows