mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update AP Helpers
This commit is contained in:
parent
c1110a024f
commit
4acafb9870
1 changed files with 1 additions and 3 deletions
|
@ -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']) ||
|
||||
|
|
Loading…
Reference in a new issue