mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
commit
c1110a024f
1 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ class Helpers {
|
||||||
|
|
||||||
$scope = 'private';
|
$scope = 'private';
|
||||||
|
|
||||||
$cw = isset($activity['sensitive']) ? (bool) $activity['sensitive'] : false;
|
$cw = isset($res['sensitive']) ? (bool) $res['sensitive'] : false;
|
||||||
|
|
||||||
if(isset($res['to']) == true) {
|
if(isset($res['to']) == true) {
|
||||||
if(is_array($res['to']) && in_array('https://www.w3.org/ns/activitystreams#Public', $res['to'])) {
|
if(is_array($res['to']) && in_array('https://www.w3.org/ns/activitystreams#Public', $res['to'])) {
|
||||||
|
@ -452,4 +452,4 @@ class Helpers {
|
||||||
$response = curl_exec($ch);
|
$response = curl_exec($ch);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue