diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 2bfa1c78..f2bfb7ef 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -323,6 +323,7 @@ class Inbox break; case 'Announce': + $obj = $obj['object']; abort_if(!Helpers::validateLocalUrl($obj), 400); $status = Helpers::statusFetch($obj); if(!$status) {