mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix scoped order warning in RemoveStatusService (#16531)
Fixes “Scoped order is ignored, it's forced to be batch order.”
This commit is contained in:
parent
e9659ae031
commit
1d67acb72f
@ -102,7 +102,7 @@ class RemoveStatusService < BaseService
|
||||
# because once original status is gone, reblogs will disappear
|
||||
# without us being able to do all the fancy stuff
|
||||
|
||||
@status.reblogs.includes(:account).find_each do |reblog|
|
||||
@status.reblogs.includes(:account).reorder(nil).find_each do |reblog|
|
||||
RemoveStatusService.new.call(reblog, original_removed: true)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user