Change lists to be able to include accounts with pending follow requests (#19727)
This commit is contained in:
parent
598e63dad2
commit
6693a4fe7c
8 changed files with 127 additions and 19 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue