diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 61de2536a..802c1e5cb 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -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)