mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Merge pull request #380 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
ea60b734bb
2 changed files with 0 additions and 2 deletions
|
@ -50,7 +50,6 @@ class ProfileOutbox extends Fractal\TransformerAbstract
|
||||||
'sensitive' => (bool) $i->is_nsfw,
|
'sensitive' => (bool) $i->is_nsfw,
|
||||||
'atomUri' => $i->url(),
|
'atomUri' => $i->url(),
|
||||||
'inReplyToAtomUri' => null,
|
'inReplyToAtomUri' => null,
|
||||||
'conversation' => $i->url(),
|
|
||||||
'attachment' => [
|
'attachment' => [
|
||||||
|
|
||||||
// TODO: support more than 1 attachment
|
// TODO: support more than 1 attachment
|
||||||
|
|
|
@ -46,7 +46,6 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
||||||
'sensitive' => (bool) $status->is_nsfw,
|
'sensitive' => (bool) $status->is_nsfw,
|
||||||
'atomUri' => $status->url(),
|
'atomUri' => $status->url(),
|
||||||
'inReplyToAtomUri' => null,
|
'inReplyToAtomUri' => null,
|
||||||
'conversation' => $status->url(),
|
|
||||||
'attachment' => $status->media->map(function($media) {
|
'attachment' => $status->media->map(function($media) {
|
||||||
return [
|
return [
|
||||||
'type' => 'Document',
|
'type' => 'Document',
|
||||||
|
|
Loading…
Reference in a new issue