Merge pull request #9477 from annando/media-attach

Use the raw body if not null
2022.09-rc
Hypolite Petovan 2020-10-31 17:13:03 -04:00 zatwierdzone przez GitHub
commit 0e60520a36
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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();