mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-01 18:53:16 +00:00
Update StatusTransformer
This commit is contained in:
parent
4eda870a97
commit
912e966926
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
||||||
'muted' => null,
|
'muted' => null,
|
||||||
'sensitive' => (bool) $status->is_nsfw,
|
'sensitive' => (bool) $status->is_nsfw,
|
||||||
'spoiler_text' => $status->cw_summary,
|
'spoiler_text' => $status->cw_summary,
|
||||||
'visibility' => $status->visibility,
|
'visibility' => $status->visibility ?? $status->scope,
|
||||||
'application' => [
|
'application' => [
|
||||||
'name' => 'web',
|
'name' => 'web',
|
||||||
'website' => null
|
'website' => null
|
||||||
|
|
Loading…
Reference in a new issue