Update StatusService

This commit is contained in:
Daniel Supernault 2022-01-07 19:59:29 -07:00
parent 0c1a0fa55b
commit eeaf0f9311
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -68,6 +68,7 @@ class StatusService
$status['shortcode'], $status['shortcode'],
$status['taggedPeople'], $status['taggedPeople'],
$status['thread'], $status['thread'],
$status['pinned'],
$status['account']['header_bg'], $status['account']['header_bg'],
$status['account']['is_admin'], $status['account']['is_admin'],
$status['account']['last_fetched_at'], $status['account']['last_fetched_at'],
@ -87,6 +88,8 @@ class StatusService
$status['account']['last_status_at'] = null; $status['account']['last_status_at'] = null;
$status['media_attachments'] = array_values(MediaService::getMastodon($status['id'])); $status['media_attachments'] = array_values(MediaService::getMastodon($status['id']));
$status['muted'] = false;
$status['reblogged'] = false;
return $status; return $status;
} }