mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update StatusService
This commit is contained in:
parent
0c1a0fa55b
commit
eeaf0f9311
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue