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

pull/16098/head
Eugen Rochko 2021-04-22 14:26:11 +02:00 committed by GitHub
parent 3230c244f9
commit 2eb17360df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -62,7 +62,11 @@ class StatusReachFinder
end end
def followers_inboxes 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 end
def relay_inboxes def relay_inboxes