Fix own following/followers not showing muted users (#13614)
Fixes #13612
This commit is contained in:
parent
043255a45e
commit
f1e0fa80f6
4 changed files with 48 additions and 2 deletions
|
@ -20,7 +20,7 @@ class Api::V1::Accounts::FollowingAccountsController < Api::BaseController
|
|||
return [] if hide_results?
|
||||
|
||||
scope = default_accounts
|
||||
scope = scope.where.not(id: current_account.excluded_from_timeline_account_ids) unless current_account.nil?
|
||||
scope = scope.where.not(id: current_account.excluded_from_timeline_account_ids) unless current_account.nil? || current_account.id == @account.id
|
||||
scope.merge(paginated_follows).to_a
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue