mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-26 00:39:40 +00:00
Update Inbox handler
This commit is contained in:
parent
3063eb249a
commit
d0fefe242b
1 changed files with 2 additions and 2 deletions
|
@ -311,6 +311,8 @@ class Inbox
|
|||
$id = $this->payload['object']['id'];
|
||||
switch ($type) {
|
||||
case 'Person':
|
||||
// todo: fix race condition
|
||||
return;
|
||||
$profile = Helpers::profileFetch($actor);
|
||||
if(!$profile || $profile->private_key != null) {
|
||||
return;
|
||||
|
@ -327,8 +329,6 @@ class Inbox
|
|||
break;
|
||||
|
||||
case 'Tombstone':
|
||||
// todo: fix race condition
|
||||
return;
|
||||
$profile = Helpers::profileFetch($actor);
|
||||
$status = Status::whereProfileId($profile->id)
|
||||
->whereUri($id)
|
||||
|
|
Loading…
Reference in a new issue