diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 9174c6d7..749d0cea 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -182,6 +182,9 @@ class Inbox if(!$actor || $actor->domain == null) { return; } + if(!isset($activity['to'])) { + return; + } $to = $activity['to']; $cc = isset($activity['cc']) ? $activity['cc'] : [];