Update AP Transformers, remove legacy OStatus methods

pull/380/head
Daniel Supernault 2018-08-14 21:44:07 -06:00
rodzic ff23be1752
commit 5fb75794a7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
2 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -50,7 +50,6 @@ class ProfileOutbox extends Fractal\TransformerAbstract
'sensitive' => (bool) $i->is_nsfw,
'atomUri' => $i->url(),
'inReplyToAtomUri' => null,
'conversation' => $i->url(),
'attachment' => [
// TODO: support more than 1 attachment

Wyświetl plik

@ -46,7 +46,6 @@ class StatusTransformer extends Fractal\TransformerAbstract
'sensitive' => (bool) $status->is_nsfw,
'atomUri' => $status->url(),
'inReplyToAtomUri' => null,
'conversation' => $status->url(),
'attachment' => $status->media->map(function($media) {
return [
'type' => 'Document',