diff --git a/app/Transformer/Api/Mastodon/v1/StatusTransformer.php b/app/Transformer/Api/Mastodon/v1/StatusTransformer.php index 66df538f..f73f3810 100644 --- a/app/Transformer/Api/Mastodon/v1/StatusTransformer.php +++ b/app/Transformer/Api/Mastodon/v1/StatusTransformer.php @@ -31,8 +31,8 @@ class StatusTransformer extends Fractal\TransformerAbstract 'replies_count' => 0, 'reblogs_count' => $status->reblogs_count ?? 0, 'favourites_count' => $status->likes_count ?? 0, - 'favourited' => false, - 'reblogged' => false, + 'reblogged' => $status->shared(), + 'favourited' => $status->liked(), 'muted' => false, 'bookmarked' => false, 'pinned' => false,