Add comment to friendica_order query parameter in Mastodon Timeline Home

This commit is contained in:
Hank Grabowski 2023-02-28 11:35:54 -05:00
parent 099ef11183
commit 4f86cd0923

View file

@ -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);