Prevent delivery of new posts to suspended followers (#27509)

This commit is contained in:
Claire 2024-11-22 15:36:08 +01:00 committed by GitHub
parent 9d34146aaa
commit 04ce5939ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,9 @@ class StatusReachFinder
private
def reached_account_inboxes
Account.where(id: reached_account_ids).inboxes
scope = Account.where(id: reached_account_ids)
scope.merge!(Account.without_suspended) unless unsafe?
scope.inboxes
end
def reached_account_ids