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

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?