glitch-soc/app/workers/glitch/apply_keyword_mutes_worker.rb
David Yip 083f78b8fb
Stub out Glitch::ApplyKeywordMutesService. #199.
This service will apply/unapply keyword mutes to home and mentions
timelines.  Maybe other timelines if I find a way to make it work.
2018-06-13 03:32:30 -05:00

14 lines
271 B
Ruby

# frozen_string_literal: true
module Glitch
class ApplyKeywordMutesWorker
include Sidekiq::Worker
sidekiq_options unique: :until_executed
def perform(account_id)
Glitch::ApplyKeywordMutesService.new.call(Account.find(account_id))
end
end
end