mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fixed missing account in MoveDistributionWorker (#11906)
This commit is contained in:
parent
b18aea91e3
commit
a90243a712
@ -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…
Reference in New Issue
Block a user