forked from mirror/pixelfed
Update StatusTransformer
This commit is contained in:
parent
9914c61c65
commit
e590db3f32
|
@ -43,6 +43,8 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
||||||
'pinned' => null,
|
'pinned' => null,
|
||||||
|
|
||||||
'pf_type' => $status->type ?? $status->setType(),
|
'pf_type' => $status->type ?? $status->setType(),
|
||||||
|
'reply_count' => $status->reply_count,
|
||||||
|
'comments_disabled' => $status->comments_disabled ? true : false
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue