From 533bf92d21b9ca2dfe64dff597980bb4fb6578c4 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 9 Feb 2023 21:01:53 +0100 Subject: [PATCH] Don't delivery a reply to domains which are blocked by author (#22117) (#23490) Co-authored-by: Jeong Arm --- app/lib/status_reach_finder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/status_reach_finder.rb b/app/lib/status_reach_finder.rb index 98e502bb6..546fef9e2 100644 --- a/app/lib/status_reach_finder.rb +++ b/app/lib/status_reach_finder.rb @@ -70,7 +70,7 @@ class StatusReachFinder def followers_inboxes if @status.in_reply_to_local_account? && distributable? - @status.account.followers.or(@status.thread.account.followers).inboxes + @status.account.followers.or(@status.thread.account.followers.not_domain_blocked_by_account(@status.account)).inboxes elsif @status.direct_visibility? || @status.limited_visibility? [] else