Fix reblogs being discarded after the reblogged status (#19731)
This commit is contained in:
@@ -55,7 +55,7 @@ class StatusReachFinder
|
||||
|
||||
# Beware: Reblogs can be created without the author having had access to the status
|
||||
def reblogs_account_ids
|
||||
@status.reblogs.pluck(:account_id) if distributable? || unsafe?
|
||||
@status.reblogs.rewhere(deleted_at: [nil, @status.deleted_at]).pluck(:account_id) if distributable? || unsafe?
|
||||
end
|
||||
|
||||
# Beware: Favourites can be created without the author having had access to the status
|
||||
|
Reference in New Issue
Block a user