Fix delete of local reply to local parent not being forwarded (#16096)

lolsob-rspec
Eugen Rochko 2021-04-22 14:26:11 +02:00 committed by GitHub
parent b198cf4c12
commit 383fb6b7bc
1 changed files with 5 additions and 1 deletions

View File

@ -62,8 +62,12 @@ class StatusReachFinder
end
def 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
if @status.public_visibility?