Fixed missing account in MoveDistributionWorker (#11906)

This commit is contained in:
Takeshi Umeda 2019-09-21 16:11:58 +09:00 committed by Eugen Rochko
parent b18aea91e3
commit a90243a712
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ class ActivityPub::MoveDistributionWorker
def perform(migration_id)
@migration = AccountMigration.find(migration_id)
@account = @migration.account
ActivityPub::DeliveryWorker.push_bulk(inboxes) do |inbox_url|
[signed_payload, @account.id, inbox_url]