mirror of https://github.com/pixelfed/pixelfed.git
Update StatusService
This commit is contained in:
parent
0c1a0fa55b
commit
eeaf0f9311
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue