kopia lustrzana https://github.com/pixelfed/pixelfed
bandaid fix #1633
$activity is not being initialized correctly, so just use $res directly for nowpull/1634/head
rodzic
9788c80ca9
commit
274a22c1c3
|
@ -241,7 +241,7 @@ class Helpers {
|
|||
|
||||
$scope = 'private';
|
||||
|
||||
$cw = isset($activity['sensitive']) ? (bool) $activity['sensitive'] : false;
|
||||
$cw = isset($res['sensitive']) ? (bool) $res['sensitive'] : false;
|
||||
|
||||
if(isset($res['to']) == true) {
|
||||
if(is_array($res['to']) && in_array('https://www.w3.org/ns/activitystreams#Public', $res['to'])) {
|
||||
|
|
Ładowanie…
Reference in New Issue