about summary refs log tree commit diff
path: root/app/workers/activitypub/processing_worker.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-10-25 18:12:22 +0200
committerGitHub <noreply@github.com>2018-10-25 18:12:22 +0200
commitd4cf963749d2f6bb8e47a670e8cc4819ff659f49 (patch)
treeedf1952827a69950512fbc05e7150942266a13fc /app/workers/activitypub/processing_worker.rb
parentb9d7021c1ba9abdfceeffb36cb7c67885b1fb9fc (diff)
Allow inbox owner to view implicitly targeted ActivityPub payload (#9093)
Fix #9091
Diffstat (limited to 'app/workers/activitypub/processing_worker.rb')
-rw-r--r--app/workers/activitypub/processing_worker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/activitypub/processing_worker.rb b/app/workers/activitypub/processing_worker.rb
index 0e2e0eddd..a8a3ebf0f 100644
--- a/app/workers/activitypub/processing_worker.rb
+++ b/app/workers/activitypub/processing_worker.rb
@@ -5,7 +5,7 @@ class ActivityPub::ProcessingWorker
 
   sidekiq_options backtrace: true
 
-  def perform(account_id, body)
-    ActivityPub::ProcessCollectionService.new.call(body, Account.find(account_id), override_timestamps: true)
+  def perform(account_id, body, delivered_to_account_id = nil)
+    ActivityPub::ProcessCollectionService.new.call(body, Account.find(account_id), override_timestamps: true, delivered_to_account_id: delivered_to_account_id)
   end
 end