diff options
author | Takeshi Umeda <noel.yoshiba@gmail.com> | 2019-09-21 16:11:58 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-21 09:11:58 +0200 |
commit | a90243a712ac17708de898e302e337de05b7699d (patch) | |
tree | 20dfff7d4909ad7ff89895cf0677473b000f03a2 /app/workers | |
parent | b18aea91e3b7c89338c2b0cd07e037e6557514ee (diff) |
Fixed missing account in MoveDistributionWorker (#11906)
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/activitypub/move_distribution_worker.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/workers/activitypub/move_distribution_worker.rb b/app/workers/activitypub/move_distribution_worker.rb index 396d5258f..bf1c0e7ae 100644 --- a/app/workers/activitypub/move_distribution_worker.rb +++ b/app/workers/activitypub/move_distribution_worker.rb @@ -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] |