Update AP Inbox

pull/4003/head
Daniel Supernault 2022-12-24 05:24:09 -07:00
rodzic 04c2b041fc
commit 55d4388b63
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -646,7 +646,12 @@ class Inbox
DeleteRemoteProfilePipeline::dispatch($profile)->onQueue('delete');
return;
} else {
if(!isset($obj['id'], $this->payload['object'], $this->payload['object']['id'])) {
if(!isset(
$obj['id'],
$this->payload['object'],
$this->payload['object']['id'],
$this->payload['object']['type']
)) {
return;
}
$type = $this->payload['object']['type'];
@ -664,7 +669,7 @@ class Inbox
if(!$profile || $profile->private_key != null) {
return;
}
DeleteRemoteProfilePipeline::dispatch($profile)->onQueue('delete');
DeleteRemoteProfilePipeline::dispatch($profile)->onQueue('inbox');
return;
break;