From 8b007f9ee9b2001a192db9046cfc558c61da1099 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 13 May 2023 17:11:27 -0600 Subject: [PATCH] Update ap helpers --- app/Util/ActivityPub/Helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index 66e75c8fa..563cca7fe 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -308,7 +308,7 @@ class Helpers { $res = self::fetchFromUrl($url); - if(!$res || empty($res) || isset($res['error']) || !isset($res['@context']) ) { + if(!$res || empty($res) || isset($res['error']) || !isset($res['@context']) || !isset($res['published']) ) { return; }