闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
216 B

  1. class NotificationWorker
  2. include Sidekiq::Worker
  3. def perform(stream_entry_id, target_account_id)
  4. SendInteractionService.new.call(StreamEntry.find(stream_entry_id), Account.find(target_account_id))
  5. end
  6. end