Indentions
This commit is contained in:
parent
d46150f1dc
commit
3d65ef3af2
|
@ -155,16 +155,16 @@ class Status extends BaseFactory
|
||||||
$reshare = [];
|
$reshare = [];
|
||||||
|
|
||||||
$item = [
|
$item = [
|
||||||
'uri-id' => $mail['id'],
|
'uri-id' => $mail['id'],
|
||||||
'created' => $mail['created'],
|
'created' => $mail['created'],
|
||||||
'thr-parent-id' => 0,
|
'thr-parent-id' => 0,
|
||||||
'parent-author-id' => 0,
|
'parent-author-id' => 0,
|
||||||
'title' => $conv['subject'],
|
'title' => $conv['subject'],
|
||||||
'private' => Item::PRIVATE,
|
'private' => Item::PRIVATE,
|
||||||
'language' => '',
|
'language' => '',
|
||||||
'uri' => $mail['uri'],
|
'uri' => $mail['uri'],
|
||||||
'plink' => '',
|
'plink' => '',
|
||||||
'body' => BBCode::convert($mail['body'], false, BBCode::API)
|
'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);
|
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)
|
public function __construct(string $id, array $accounts, bool $unread, \Friendica\Object\Api\Mastodon\Status $last_status)
|
||||||
{
|
{
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
$this->accounts = $accounts;
|
$this->accounts = $accounts;
|
||||||
$this->unread = $unread;
|
$this->unread = $unread;
|
||||||
$this->last_status = $last_status;
|
$this->last_status = $last_status;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user