about summary refs log tree commit diff
path: root/app/controllers/activitypub
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/controllers/activitypub
parentb9d7021c1ba9abdfceeffb36cb7c67885b1fb9fc (diff)
Allow inbox owner to view implicitly targeted ActivityPub payload (#9093)
Fix #9091
Diffstat (limited to 'app/controllers/activitypub')
-rw-r--r--app/controllers/activitypub/inboxes_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/activitypub/inboxes_controller.rb b/app/controllers/activitypub/inboxes_controller.rb
index af51e32d5..8f5e1887e 100644
--- a/app/controllers/activitypub/inboxes_controller.rb
+++ b/app/controllers/activitypub/inboxes_controller.rb
@@ -36,6 +36,6 @@ class ActivityPub::InboxesController < Api::BaseController
   end
 
   def process_payload
-    ActivityPub::ProcessingWorker.perform_async(signed_request_account.id, body.force_encoding('UTF-8'))
+    ActivityPub::ProcessingWorker.perform_async(signed_request_account.id, body.force_encoding('UTF-8'), @account&.id)
   end
 end