diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-11 02:12:05 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-11 02:58:00 +0100 |
commit | 149887a0ffc81b588520ff82ab9fda8dff7bce6c (patch) | |
tree | fc1ba51d91fbadf729241381a8c46643121ad99f /app/workers/notification_worker.rb | |
parent | d551e43a9bc35b4785285e78f5ecd3157636b447 (diff) |
Make follow requests federate
Diffstat (limited to 'app/workers/notification_worker.rb')
-rw-r--r-- | app/workers/notification_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/notification_worker.rb b/app/workers/notification_worker.rb index e4c38d384..1a2faefd8 100644 --- a/app/workers/notification_worker.rb +++ b/app/workers/notification_worker.rb @@ -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 |