From 3419379aa874583517bc3f625c8df7bc514e36b4 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 30 Jan 2021 18:41:51 -0700 Subject: [PATCH] Update AP helpers, fix statusFetch 404s --- 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 3f37f44b..1f127eb9 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -258,7 +258,7 @@ class Helpers { $res = self::fetchFromUrl($url); - if(!$res || empty($res)) { + if(!$res || empty($res) || isset($res['error']) ) { return; }