From 4acafb987000bcae8c20b539f682610d7d417576 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 21 Aug 2019 22:34:05 -0600 Subject: [PATCH] Update AP Helpers --- app/Util/ActivityPub/Helpers.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index 56ab4ff69..7bba5d5ba 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -283,9 +283,7 @@ class Helpers { $cw = config('costar.domain.cw'); if(in_array(parse_url($url, PHP_URL_HOST), $cw) == true) { $cw = true; - } else { - $cw = isset($activity['sensitive']) ? (bool) $activity['sensitive'] : false; - } + } } if(!self::validateUrl($res['id']) ||