083f78b8fb
This service will apply/unapply keyword mutes to home and mentions timelines. Maybe other timelines if I find a way to make it work.
14 lines
271 B
Ruby
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
|