Indentions
This commit is contained in:
parent
d46150f1dc
commit
3d65ef3af2
2 changed files with 12 additions and 12 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue