diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 68940c502..0e116a303 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -687,6 +687,11 @@ class Inbox $profile = self::actorFirstOrCreate($actor); $obj = $this->payload['object']; + // TODO: Some implementations do not inline the object, skip for now + if(!$obj || !is_array($obj) || !isset($obj['type'])) { + return; + } + switch ($obj['type']) { case 'Accept': break;