From: Eugen Rochko Date: Thu, 22 Apr 2021 12:26:11 +0000 (+0200) Subject: Fix delete of local reply to local parent not being forwarded (#16096) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=2eb17360df289b4c2e0065a79196a2cb1e1702ea;p=mastodon.git Fix delete of local reply to local parent not being forwarded (#16096) --- 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