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/workers/refollow_worker.rb | |
parent | c339d49d82b3fd2873831029d9c92b3fbf1236e3 (diff) | |
parent | 37965ac8d9773ae79f6b8dd6fcd353894d2194ca (diff) |
Merge branch 'glitch'
Diffstat (limited to 'app/workers/refollow_worker.rb')
-rw-r--r-- | app/workers/refollow_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/refollow_worker.rb b/app/workers/refollow_worker.rb index 66bcd27c3..12f2bf671 100644 --- a/app/workers/refollow_worker.rb +++ b/app/workers/refollow_worker.rb @@ -9,7 +9,7 @@ class RefollowWorker target_account = Account.find(target_account_id) return unless target_account.protocol == :activitypub - target_account.followers.where(domain: nil).find_each do |follower| + target_account.followers.where(domain: nil).reorder(nil).find_each do |follower| # Locally unfollow remote account follower.unfollow!(target_account) |