0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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