Allow inbox owner to view implicitly targeted ActivityPub payload (#9093)

Fix #9091
This commit is contained in:
Eugen Rochko
2018-10-25 18:12:22 +02:00
committed by GitHub
parent b9d7021c1b
commit d4cf963749
3 changed files with 15 additions and 4 deletions

View File

@ -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