Make follow requests federate
This commit is contained in:
parent
d551e43a9b
commit
149887a0ff
25 changed files with 148 additions and 61 deletions
|
@ -5,7 +5,7 @@ class NotificationWorker
|
|||
|
||||
sidekiq_options retry: 5
|
||||
|
||||
def perform(stream_entry_id, target_account_id)
|
||||
SendInteractionService.new.call(StreamEntry.find(stream_entry_id), Account.find(target_account_id))
|
||||
def perform(xml, source_account_id, target_account_id)
|
||||
SendInteractionService.new.call(xml, Account.find(source_account_id), Account.find(target_account_id))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue