diff options
author | pluralcafe-docker <docker@plural.cafe> | 2018-08-22 08:26:56 +0000 |
---|---|---|
committer | pluralcafe-docker <docker@plural.cafe> | 2018-08-22 08:26:56 +0000 |
commit | a4935a8e24dcfa865fb330693d8ec90beca1aa98 (patch) | |
tree | 9fc0be073bc2ed5bf4231d850106f214fdeb020e /app/services/remove_status_service.rb | |
parent | c339d49d82b3fd2873831029d9c92b3fbf1236e3 (diff) | |
parent | 37965ac8d9773ae79f6b8dd6fcd353894d2194ca (diff) |
Merge branch 'glitch'
Diffstat (limited to 'app/services/remove_status_service.rb')
-rw-r--r-- | app/services/remove_status_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb index fb889140b..1a53093b8 100644 --- a/app/services/remove_status_service.rb +++ b/app/services/remove_status_service.rb @@ -43,13 +43,13 @@ class RemoveStatusService < BaseService end def remove_from_followers - @account.followers_for_local_distribution.find_each do |follower| + @account.followers_for_local_distribution.reorder(nil).find_each do |follower| FeedManager.instance.unpush_from_home(follower, @status) end end def remove_from_lists - @account.lists_for_local_distribution.select(:id, :account_id).find_each do |list| + @account.lists_for_local_distribution.select(:id, :account_id).reorder(nil).find_each do |list| FeedManager.instance.unpush_from_list(list, @status) end end |