Add comment to friendica_order query parameter in Mastodon Timeline Home
This commit is contained in:
parent
099ef11183
commit
4f86cd0923
1 changed files with 1 additions and 3 deletions
|
@ -54,11 +54,9 @@ class Home extends BaseApi
|
|||
'only_media' => false, // Show only statuses with media attached? Defaults to false.
|
||||
'remote' => false, // Show only remote statuses? Defaults to false.
|
||||
'exclude_replies' => false, // Don't show comments
|
||||
'friendica_order' => TimelineOrderByTypes::ID,
|
||||
'friendica_order' => TimelineOrderByTypes::ID, // Sort order options (defaults to ID)
|
||||
], $request);
|
||||
|
||||
|
||||
|
||||
$condition = ['gravity' => [Item::GRAVITY_PARENT, Item::GRAVITY_COMMENT], 'uid' => $uid];
|
||||
|
||||
$condition = $this->addPagingConditions($request, $condition);
|
||||
|
|
Loading…
Reference in a new issue