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
d06622b7d4
commit
d85cdd13de
1 changed files with 2 additions and 2 deletions
|
@ -307,7 +307,7 @@ class Inbox
|
|||
$id = $this->payload['object']['id'];
|
||||
switch ($type) {
|
||||
case 'Person':
|
||||
$profile = Helpers::fetchProfile($actor);
|
||||
$profile = Helpers::profileFetch($actor);
|
||||
if(!$profile || $profile->private_key != null) {
|
||||
return;
|
||||
}
|
||||
|
@ -323,7 +323,7 @@ class Inbox
|
|||
break;
|
||||
|
||||
case 'Tombstone':
|
||||
$profile = Helpers::fetchProfile($actor);
|
||||
$profile = Helpers::profileFetch($actor);
|
||||
$status = Status::whereProfileId($profile->id)
|
||||
->whereUri($id)
|
||||
->orWhereUrl($id)
|
||||
|
|
Loading…
Reference in a new issue