mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 18:45:41 +01:00
Prevent delivery of new posts to suspended followers (#27509)
This commit is contained in:
parent
9d34146aaa
commit
04ce5939ae
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ class StatusReachFinder
|
||||||
private
|
private
|
||||||
|
|
||||||
def reached_account_inboxes
|
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
|
end
|
||||||
|
|
||||||
def reached_account_ids
|
def reached_account_ids
|
||||||
|
|
Loading…
Reference in a new issue