|
|
@ -115,7 +115,7 @@ class CreateNote extends Fractal\TransformerAbstract
|
|
|
|
'capabilities' => [
|
|
|
|
'capabilities' => [
|
|
|
|
'announce' => 'https://www.w3.org/ns/activitystreams#Public',
|
|
|
|
'announce' => 'https://www.w3.org/ns/activitystreams#Public',
|
|
|
|
'like' => 'https://www.w3.org/ns/activitystreams#Public',
|
|
|
|
'like' => 'https://www.w3.org/ns/activitystreams#Public',
|
|
|
|
'reply' => $status->comments_disabled == true ? null : 'https://www.w3.org/ns/activitystreams#Public'
|
|
|
|
'reply' => $status->comments_disabled == true ? '[]' : 'https://www.w3.org/ns/activitystreams#Public'
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'location' => $status->place_id ? [
|
|
|
|
'location' => $status->place_id ? [
|
|
|
|
'type' => 'Place',
|
|
|
|
'type' => 'Place',
|
|
|
|