Merge pull request #380 from pixelfed/frontend-ui-refactor

Frontend ui refactor
This commit is contained in:
daniel 2018-08-14 21:46:44 -06:00 committed by GitHub
commit ea60b734bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View file

@ -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

View file

@ -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',