소스 검색

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;