Browse Source

Fixed missing account in MoveDistributionWorker (#11906)

master
Takeshi Umeda 5 years ago
committed by Eugen Rochko
parent
commit
a90243a712
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/workers/activitypub/move_distribution_worker.rb

+ 1
- 0
app/workers/activitypub/move_distribution_worker.rb 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]

Loading…
Cancel
Save