Update AP Helpers, fix comment bug

pull/5503/head
Daniel Supernault 1 month ago
parent f82dfe8b3e
commit 22eae69fd5
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -599,7 +599,7 @@ class Helpers
$reply_to = self::getReplyTo($activity);
$ts = self::pluckval($activity['published']);
$scope = self::getScope($activity, $url);
$commentsDisabled = $activity['commentsEnabled'] ?? false;
$commentsDisabled = isset($activity['commentsEnabled']) ? (bool)$activity['commentsEnabled'] == false : false;
$cw = self::getSensitive($activity, $url);
if ($profile->unlisted) {

Loading…
Cancel
Save