mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Use different parser modes for Mastodon and Twitter-API
This commit is contained in:
parent
205f19da38
commit
210200d330
8 changed files with 27 additions and 28 deletions
|
@ -132,7 +132,7 @@ class Status extends BaseDataTransferObject
|
|||
$this->muted = $userAttributes->muted;
|
||||
$this->bookmarked = $userAttributes->bookmarked;
|
||||
$this->pinned = $userAttributes->pinned;
|
||||
$this->content = BBCode::convertForUriId($item['uri-id'], BBCode::setMentionsToNicknames($item['raw-body'] ?? $item['body']), BBCode::API);
|
||||
$this->content = BBCode::convertForUriId($item['uri-id'], BBCode::setMentionsToNicknames($item['raw-body'] ?? $item['body']), BBCode::MASTODON_API);
|
||||
$this->reblog = $reblog;
|
||||
$this->application = $application->toArray();
|
||||
$this->account = $account->toArray();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue