From 2eb17360df289b4c2e0065a79196a2cb1e1702ea Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 22 Apr 2021 14:26:11 +0200 Subject: [PATCH] Fix delete of local reply to local parent not being forwarded (#16096) --- app/lib/status_reach_finder.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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