forked from mirror/pixelfed
Update StatusHashtagTransformer, add blurhash attribute
This commit is contained in:
parent
3f772ff864
commit
899bbeba5f
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ class StatusHashtagTransformer extends Fractal\TransformerAbstract
|
||||||
'url' => $status->url(),
|
'url' => $status->url(),
|
||||||
'thumb' => $status->thumb(true),
|
'thumb' => $status->thumb(true),
|
||||||
'filter' => $status->firstMedia()->filter_class,
|
'filter' => $status->firstMedia()->filter_class,
|
||||||
|
'blurhash' => $status->firstMedia()->blurhash,
|
||||||
'sensitive' => (bool) $status->is_nsfw,
|
'sensitive' => (bool) $status->is_nsfw,
|
||||||
'like_count' => $status->likes_count,
|
'like_count' => $status->likes_count,
|
||||||
'share_count' => $status->reblogs_count,
|
'share_count' => $status->reblogs_count,
|
||||||
|
|
Loading…
Reference in a new issue