diff --git a/src/Factory/Api/Mastodon/Status.php b/src/Factory/Api/Mastodon/Status.php index f64dde29bb..3df4e28e7b 100644 --- a/src/Factory/Api/Mastodon/Status.php +++ b/src/Factory/Api/Mastodon/Status.php @@ -155,16 +155,16 @@ class Status extends BaseFactory $reshare = []; $item = [ - 'uri-id' => $mail['id'], - 'created' => $mail['created'], - 'thr-parent-id' => 0, + 'uri-id' => $mail['id'], + 'created' => $mail['created'], + 'thr-parent-id' => 0, 'parent-author-id' => 0, - 'title' => $conv['subject'], - 'private' => Item::PRIVATE, - 'language' => '', - 'uri' => $mail['uri'], - 'plink' => '', - 'body' => BBCode::convert($mail['body'], false, BBCode::API) + 'title' => $conv['subject'], + 'private' => Item::PRIVATE, + 'language' => '', + 'uri' => $mail['uri'], + 'plink' => '', + 'body' => BBCode::convert($mail['body'], false, BBCode::API) ]; return new \Friendica\Object\Api\Mastodon\Status($item, $account, $counts, $userAttributes, $sensitive, $application, $mentions, $tags, $card, $attachments, $reshare); diff --git a/src/Object/Api/Mastodon/Conversation.php b/src/Object/Api/Mastodon/Conversation.php index 911b4ad8af..0b0136044f 100644 --- a/src/Object/Api/Mastodon/Conversation.php +++ b/src/Object/Api/Mastodon/Conversation.php @@ -46,9 +46,9 @@ class Conversation extends BaseDataTransferObject public function __construct(string $id, array $accounts, bool $unread, \Friendica\Object\Api\Mastodon\Status $last_status) { - $this->id = $id; - $this->accounts = $accounts; - $this->unread = $unread; + $this->id = $id; + $this->accounts = $accounts; + $this->unread = $unread; $this->last_status = $last_status; } }