From 494e852c1a1196972404737c43141d2eb01c7f48 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 12 May 2021 15:41:05 +0000 Subject: [PATCH] Removed old comment --- src/Module/Api/Mastodon/Accounts/Statuses.php | 2 +- src/Module/Api/Mastodon/Timelines/PublicTimeline.php | 2 +- src/Module/Api/Mastodon/Timelines/Tag.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Module/Api/Mastodon/Accounts/Statuses.php b/src/Module/Api/Mastodon/Accounts/Statuses.php index b3aec744ec..e234b7ee1d 100644 --- a/src/Module/Api/Mastodon/Accounts/Statuses.php +++ b/src/Module/Api/Mastodon/Accounts/Statuses.php @@ -52,7 +52,7 @@ class Statuses extends BaseApi } // Show only statuses with media attached? Defaults to false. - $only_media = (bool)!isset($_REQUEST['only_media']) ? false : ($_REQUEST['only_media'] == 'true'); // Currently not supported + $only_media = (bool)!isset($_REQUEST['only_media']) ? false : ($_REQUEST['only_media'] == 'true'); // Return results older than this id $max_id = (int)!isset($_REQUEST['max_id']) ? 0 : $_REQUEST['max_id']; // Return results newer than this id diff --git a/src/Module/Api/Mastodon/Timelines/PublicTimeline.php b/src/Module/Api/Mastodon/Timelines/PublicTimeline.php index a0a975d209..487b45e34b 100644 --- a/src/Module/Api/Mastodon/Timelines/PublicTimeline.php +++ b/src/Module/Api/Mastodon/Timelines/PublicTimeline.php @@ -46,7 +46,7 @@ class PublicTimeline extends BaseApi // Show only remote statuses? Defaults to false. $remote = (bool)!isset($_REQUEST['remote']) ? false : ($_REQUEST['remote'] == 'true'); // Show only statuses with media attached? Defaults to false. - $only_media = (bool)!isset($_REQUEST['only_media']) ? false : ($_REQUEST['only_media'] == 'true'); // Currently not supported + $only_media = (bool)!isset($_REQUEST['only_media']) ? false : ($_REQUEST['only_media'] == 'true'); // Return results older than this id $max_id = (int)!isset($_REQUEST['max_id']) ? 0 : $_REQUEST['max_id']; // Return results newer than this id diff --git a/src/Module/Api/Mastodon/Timelines/Tag.php b/src/Module/Api/Mastodon/Timelines/Tag.php index 7218f40cb8..924b763074 100644 --- a/src/Module/Api/Mastodon/Timelines/Tag.php +++ b/src/Module/Api/Mastodon/Timelines/Tag.php @@ -50,7 +50,7 @@ class Tag extends BaseApi // If true, return only local statuses. Defaults to false. $local = (bool)!isset($_REQUEST['local']) ? false : ($_REQUEST['local'] == 'true'); // If true, return only statuses with media attachments. Defaults to false. - $only_media = (bool)!isset($_REQUEST['only_media']) ? false : ($_REQUEST['only_media'] == 'true'); // Currently not supported + $only_media = (bool)!isset($_REQUEST['only_media']) ? false : ($_REQUEST['only_media'] == 'true'); // Return results older than this ID. $max_id = (int)!isset($_REQUEST['max_id']) ? 0 : $_REQUEST['max_id']; // Return results newer than this ID.