Skip to content

Commit

Permalink
Fix delete of local reply to local parent not being forwarded (mastod…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored and chrisguida committed Feb 26, 2022
1 parent aa72795 commit 876c257
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/lib/status_reach_finder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ def replies_account_ids
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
Expand Down

0 comments on commit 876c257

Please sign in to comment.