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

This commit is contained in:
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,8 +62,12 @@ class StatusReachFinder
end end
def followers_inboxes 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 @status.account.followers.inboxes
end end
end
def relay_inboxes def relay_inboxes
if @status.public_visibility? if @status.public_visibility?