Use the raw body if not null
This commit is contained in:
parent
e6030e5f82
commit
752f5b09d7
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class Status extends BaseEntity
|
||||||
$this->muted = $userAttributes->muted;
|
$this->muted = $userAttributes->muted;
|
||||||
$this->bookmarked = $userAttributes->bookmarked;
|
$this->bookmarked = $userAttributes->bookmarked;
|
||||||
$this->pinned = $userAttributes->pinned;
|
$this->pinned = $userAttributes->pinned;
|
||||||
$this->content = BBCode::convert($item['body'], false);
|
$this->content = BBCode::convert($item['raw-body'] ?? $item['body'], false);
|
||||||
$this->reblog = null; /// @todo
|
$this->reblog = null; /// @todo
|
||||||
$this->application = $application->toArray();
|
$this->application = $application->toArray();
|
||||||
$this->account = $account->toArray();
|
$this->account = $account->toArray();
|
||||||
|
|
Loading…
Reference in a new issue