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,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