mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +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['taggedPeople'],
|
||||
$status['thread'],
|
||||
$status['pinned'],
|
||||
$status['account']['header_bg'],
|
||||
$status['account']['is_admin'],
|
||||
$status['account']['last_fetched_at'],
|
||||
|
@ -87,6 +88,8 @@ class StatusService
|
|||
$status['account']['last_status_at'] = null;
|
||||
|
||||
$status['media_attachments'] = array_values(MediaService::getMastodon($status['id']));
|
||||
$status['muted'] = false;
|
||||
$status['reblogged'] = false;
|
||||
|
||||
return $status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue