Explorar o código

Update AP Inbox

Daniel Supernault %!s(int64=2) %!d(string=hai) anos
pai
achega
36b88901f3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;