Change lists to be able to include accounts with pending follow requests (#19727)
This commit is contained in:
@ -272,6 +272,7 @@ module AccountInteractions
|
||||
|
||||
def lists_for_local_distribution
|
||||
lists.joins(account: :user)
|
||||
.where.not(list_accounts: { follow_id: nil })
|
||||
.where('users.current_sign_in_at > ?', User::ACTIVE_DURATION.ago)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user