1
0

mute_worker.rb 277 B

1234567891011
  1. # frozen_string_literal: true
  2. class MuteWorker
  3. include Sidekiq::Worker
  4. def perform(account_id, target_account_id)
  5. FeedManager.instance.clear_from_home(Account.find(account_id), Account.find(target_account_id))
  6. rescue ActiveRecord::RecordNotFound
  7. true
  8. end
  9. end