Providing the uri-id to "convert" when possible

This commit is contained in:
Michael 2021-07-06 12:34:48 +00:00
parent 098cd543ea
commit 37a76e70ef
5 changed files with 9 additions and 9 deletions

View file

@ -131,7 +131,7 @@ class Status extends BaseDataTransferObject
$this->muted = $userAttributes->muted;
$this->bookmarked = $userAttributes->bookmarked;
$this->pinned = $userAttributes->pinned;
$this->content = BBCode::convert($item['raw-body'] ?? $item['body'], false, BBCode::API);
$this->content = BBCode::convert($item['raw-body'] ?? $item['body'], false, BBCode::API, false, $item['uri-id']);
$this->reblog = $reblog;
$this->application = $application->toArray();
$this->account = $account->toArray();