Browse Source
Don't delivery a reply to domains which are blocked by author (#22117)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
closed-social-glitch-2
Jeong Arm
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|