ソースを参照

Update AP Inbox

Daniel Supernault 2 年 前
コミット
36b88901f3
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/Jobs/InboxPipeline/DeleteWorker.php

+ 2 - 2
app/Jobs/InboxPipeline/DeleteWorker.php

@@ -87,7 +87,7 @@ class DeleteWorker implements ShouldQueue
 						->whereRemoteUrl($actor)
 						->first();
 					if($profile) {
-						DeleteRemoteProfilePipeline::dispatch($profile)->onQueue('delete');
+						DeleteRemoteProfilePipeline::dispatch($profile)->onQueue('inbox');
 					}
 					return 1;
 				} else {
@@ -105,7 +105,7 @@ class DeleteWorker implements ShouldQueue
 		$profile = null;
 
 		if($this->verifySignature($headers, $payload) == true) {
-			ActivityHandler::dispatch($headers, $profile, $payload)->onQueue('delete');
+			ActivityHandler::dispatch($headers, $profile, $payload)->onQueue('inbox');
 			return 1;
 		} else {
 			return 1;