Merge pull request #1636 from pixelfed/staging

Update AP Helpers
This commit is contained in:
daniel 2019-08-21 22:34:39 -06:00 committed by GitHub
commit 0c56aa058f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']) ||