kopia lustrzana https://github.com/pixelfed/pixelfed
Update StatusTransformer, Fixes #1760
rodzic
1e2ada17ca
commit
f89852c321
|
@ -24,7 +24,7 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
|||
'in_reply_to_id' => $status->in_reply_to_id,
|
||||
'in_reply_to_account_id' => $status->in_reply_to_profile_id,
|
||||
'reblog' => null,
|
||||
'content' => $status->rendered ?? $status->caption,
|
||||
'content' => $status->rendered ?? $status->caption ?? '',
|
||||
'created_at' => $status->created_at->toJSON(),
|
||||
'emojis' => [],
|
||||
'replies_count' => 0,
|
||||
|
|
Ładowanie…
Reference in New Issue