1
0
Fork 0

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
1 changed files with 1 additions and 3 deletions

View File

@ -283,9 +283,7 @@ class Helpers {
$cw = config('costar.domain.cw'); $cw = config('costar.domain.cw');
if(in_array(parse_url($url, PHP_URL_HOST), $cw) == true) { if(in_array(parse_url($url, PHP_URL_HOST), $cw) == true) {
$cw = true; $cw = true;
} else { }
$cw = isset($activity['sensitive']) ? (bool) $activity['sensitive'] : false;
}
} }
if(!self::validateUrl($res['id']) || if(!self::validateUrl($res['id']) ||