about summary refs log tree commit diff
path: root/app/services/remove_status_service.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-07-25 12:48:48 +0200
committerClaire <claire.github-309c@sitedethib.com>2021-07-25 12:48:48 +0200
commitb5e10d07ff756ab4f4101c8ee356caff92852e22 (patch)
treecb24b1ef19239abd226b17f305fd91daf19dc227 /app/services/remove_status_service.rb
parenta2df067f9852f0db3140dd2c35539f4e74bdb6dc (diff)
parenta8a7066e977cb0aa1988d340ef8b7c542f179b14 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/services/remove_status_service.rb')
-rw-r--r--app/services/remove_status_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb
index 20c17e6df..9259c69d9 100644
--- a/app/services/remove_status_service.rb
+++ b/app/services/remove_status_service.rb
@@ -104,7 +104,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