API: Fix display of reshares / return value of activities

This commit is contained in:
Michael 2022-02-28 20:10:42 +00:00
parent f36d4891bc
commit 772294494e
3 changed files with 17 additions and 12 deletions

View file

@ -118,7 +118,7 @@ class Status extends BaseDataTransferObject
$this->friendica_title = $item['title'];
$this->statusnet_html = $statusnetHtml;
$this->friendica_html = $friendicaHtml;
$this->user = $author->toArray();
$this->user = $owner->toArray();
$this->friendica_author = $author->toArray();
$this->friendica_owner = $owner->toArray();
$this->truncated = false;