Prevent delivery of new posts to suspended followers

This commit is contained in:
Claire 2023-10-23 10:47:36 +02:00
parent 70fd819935
commit 741d67e9ba

View file

@ -22,7 +22,9 @@ class StatusReachFinder
if @status.reblog? if @status.reblog?
[] []
else 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
end end