mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-31 00:40:47 +00:00
Update StatusTransformer, fixes #2113
This commit is contained in:
parent
b479514fb6
commit
eefa6e0dfd
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
||||||
'replies_count' => 0,
|
'replies_count' => 0,
|
||||||
'reblogs_count' => $status->reblogs_count ?? 0,
|
'reblogs_count' => $status->reblogs_count ?? 0,
|
||||||
'favourites_count' => $status->likes_count ?? 0,
|
'favourites_count' => $status->likes_count ?? 0,
|
||||||
'favourited' => false,
|
'reblogged' => $status->shared(),
|
||||||
'reblogged' => false,
|
'favourited' => $status->liked(),
|
||||||
'muted' => false,
|
'muted' => false,
|
||||||
'bookmarked' => false,
|
'bookmarked' => false,
|
||||||
'pinned' => false,
|
'pinned' => false,
|
||||||
|
|
Loading…
Reference in a new issue