diff options
author | David Yip <yipdw@member.fsf.org> | 2018-06-12 18:13:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-12 18:13:30 -0500 |
commit | 5cff053944b4327477ca45882c9dd3b1a7a559e8 (patch) | |
tree | 83c564879534ea35f468ce319342e011773f24aa /app/workers/soft_block_domain_followers_worker.rb | |
parent | 99b2bc2668e79bacd7f8696315206872086ebf3a (diff) | |
parent | f6bb50b6ece555af138df164680189b1ec57da4b (diff) |
Merge branch 'master' into 454-allow-keyword-mutes-to-skip-mentions
Diffstat (limited to 'app/workers/soft_block_domain_followers_worker.rb')
-rw-r--r-- | app/workers/soft_block_domain_followers_worker.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/workers/soft_block_domain_followers_worker.rb b/app/workers/soft_block_domain_followers_worker.rb deleted file mode 100644 index 85445c7fb..000000000 --- a/app/workers/soft_block_domain_followers_worker.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -class SoftBlockDomainFollowersWorker - include Sidekiq::Worker - - sidekiq_options queue: 'pull' - - def perform(account_id, domain) - followers_id = Account.find(account_id).followers.where(domain: domain).pluck(:id) - SoftBlockWorker.push_bulk(followers_id) do |follower_id| - [account_id, follower_id] - end - end -end |