mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update AP Inbox
This commit is contained in:
parent
04c2b041fc
commit
55d4388b63
1 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue