mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Add dislike counts to Mastodon API Statuses in FriendicaExtension
This commit is contained in:
parent
5f56918d3e
commit
3a8929be1f
4 changed files with 26 additions and 9 deletions
|
@ -151,7 +151,7 @@ class Status extends BaseDataTransferObject
|
|||
$this->emojis = [];
|
||||
$this->card = $card->toArray() ?: null;
|
||||
$this->poll = $poll;
|
||||
$this->friendica = new FriendicaExtension($item['title']);
|
||||
$this->friendica = new FriendicaExtension($item['title'], $counts->dislikes);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue