mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-18 02:20:46 +00:00
Update AP Helpers, fix comment bug
This commit is contained in:
parent
f82dfe8b3e
commit
22eae69fd5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue