diff options
author | ThibG <thib@sitedethib.com> | 2019-04-01 21:36:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-01 21:36:36 +0200 |
commit | 3f5acc1ab3bc9c5a6c5805901a393ccd3457b909 (patch) | |
tree | 4ddadcc66d07a1edfcfb9ff0f9cda7cf107d6b46 /app/controllers/api/v1/accounts/following_accounts_controller.rb | |
parent | 925830d11bb5c132e282f82bdb2ca893d87c9c24 (diff) | |
parent | 12dae9d58316bec32adaac016998ab1cf69d2b45 (diff) |
Merge pull request #978 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/api/v1/accounts/following_accounts_controller.rb')
-rw-r--r-- | app/controllers/api/v1/accounts/following_accounts_controller.rb | 2 |
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 |