From c76fb7ec34a196452279583315d5ab682616595d Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 7 Sep 2024 03:14:56 -0600 Subject: [PATCH] Update AP Inbox --- app/Util/ActivityPub/Inbox.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index bee84d04f..dba40b08b 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -1371,12 +1371,10 @@ class Inbox } Bus::chain([ - new ProcessMovePipeline, - new MoveMigrateFollowersPipeline, - new UnfollowLegacyAccountMovePipeline, - new CleanupLegacyAccountMovePipeline, - ]) - ->onQueue('move') - ->dispatch($target, $activity); + new ProcessMovePipeline($target, $activity), + new MoveMigrateFollowersPipeline($target, $activity), + new UnfollowLegacyAccountMovePipeline($target, $activity), + new CleanupLegacyAccountMovePipeline($target, $activity), + ])->onQueue('move')->dispatch(); } }