mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 06:06:45 +00:00
Prevent delivery of new posts to suspended followers
This commit is contained in:
parent
70fd819935
commit
741d67e9ba
|
@ -22,7 +22,9 @@ class StatusReachFinder
|
|||
if @status.reblog?
|
||||
[]
|
||||
else
|
||||
Account.where(id: reached_account_ids).inboxes
|
||||
scope = Account.where(id: reached_account_ids).inboxes
|
||||
scope.merge!(Account.without_suspended) unless unsafe?
|
||||
scope
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue