Skip to content

Commit 876c257

Browse files
Gargronchrisguida
authored andcommitted
Fix delete of local reply to local parent not being forwarded (mastodon#16096)
1 parent aa72795 commit 876c257

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

app/lib/status_reach_finder.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ def replies_account_ids
6262
end
6363

6464
def followers_inboxes
65-
@status.account.followers.inboxes
65+
if @status.reply? && @status.thread.account.local? && @status.distributable?
66+
@status.account.followers.or(@status.thread.account.followers).inboxes
67+
else
68+
@status.account.followers.inboxes
69+
end
6670
end
6771

6872
def relay_inboxes

0 commit comments

Comments
 (0)