Change lists to be able to include accounts with pending follow requests (#19727)

This commit is contained in:
Claire
2023-05-02 14:40:36 +02:00
committed by GitHub
parent 598e63dad2
commit 6693a4fe7c
8 changed files with 127 additions and 19 deletions

View File

@ -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