From: Hank Grabowski Date: Tue, 28 Feb 2023 16:35:54 +0000 (-0500) Subject: Add comment to friendica_order query parameter in Mastodon Timeline Home X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f86cd09231917be718a6baee1ae6242c8b67ddc;p=friendica.git Add comment to friendica_order query parameter in Mastodon Timeline Home --- diff --git a/src/Module/Api/Mastodon/Timelines/Home.php b/src/Module/Api/Mastodon/Timelines/Home.php index 53ab3d629b..6d0b7a3340 100644 --- a/src/Module/Api/Mastodon/Timelines/Home.php +++ b/src/Module/Api/Mastodon/Timelines/Home.php @@ -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);