Use the raw body if not null

pull/9477/head
Michael 2020-10-31 16:32:41 +00:00
rodzic e6030e5f82
commit 752f5b09d7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -126,7 +126,7 @@ class Status extends BaseEntity
$this->muted = $userAttributes->muted;
$this->bookmarked = $userAttributes->bookmarked;
$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->application = $application->toArray();
$this->account = $account->toArray();