summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2021-04-22 14:26:11 +0200
committerGitHub <noreply@github.com>2021-04-22 14:26:11 +0200
commit2eb17360df289b4c2e0065a79196a2cb1e1702ea (patch)
tree44b1a61e973ea56cd091141755e6738a4e672180 /app
parent3230c244f993fd151759ac4041641a09808a6e16 (diff)
Fix delete of local reply to local parent not being forwarded (#16096)
Diffstat (limited to 'app')
-rw-r--r--app/lib/status_reach_finder.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/lib/status_reach_finder.rb b/app/lib/status_reach_finder.rb
index 3aab3bde0cd..0e755d433f3 100644
--- a/app/lib/status_reach_finder.rb
+++ b/app/lib/status_reach_finder.rb
@@ -62,7 +62,11 @@ class StatusReachFinder
end
def followers_inboxes
- @status.account.followers.inboxes
+ if @status.reply? && @status.thread.account.local? && @status.distributable?
+ @status.account.followers.or(@status.thread.account.followers).inboxes
+ else
+ @status.account.followers.inboxes
+ end
end
def relay_inboxes