diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-04-22 14:26:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 14:26:11 +0200 |
commit | 2eb17360df289b4c2e0065a79196a2cb1e1702ea (patch) | |
tree | 44b1a61e973ea56cd091141755e6738a4e672180 | |
parent | 3230c244f993fd151759ac4041641a09808a6e16 (diff) |
Fix delete of local reply to local parent not being forwarded (#16096)
-rw-r--r-- | app/lib/status_reach_finder.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/lib/status_reach_finder.rb b/app/lib/status_reach_finder.rb index 3aab3bde0..0e755d433 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 |