From dfcd2e6d2a28f4f37aad6e4ec5077346c7fe7709 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 16 Mar 2022 21:34:36 -0600 Subject: [PATCH] Update Inbox, fixes #3314 --- app/Util/ActivityPub/Inbox.php | 3 +++ 1 file changed, 3 insertions(+) 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'] : [];