]> git.mxchange.org Git - friendica.git/commitdiff
Removed old comment
authorMichael <heluecht@pirati.ca>
Wed, 12 May 2021 15:41:05 +0000 (15:41 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 12 May 2021 15:41:05 +0000 (15:41 +0000)
src/Module/Api/Mastodon/Accounts/Statuses.php
src/Module/Api/Mastodon/Timelines/PublicTimeline.php
src/Module/Api/Mastodon/Timelines/Tag.php

index b3aec744ecf70eb73d5e2255e4c6d8cd55382538..e234b7ee1d8c97fa269f5c04b6783859487901da 100644 (file)
@@ -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
index a0a975d20943aee3d1a49560ca0161f33b4c6039..487b45e34b0b8814f77dee0748d1173d1622e51a 100644 (file)
@@ -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
index 7218f40cb8585ed6971648eca416370ad7e768fd..924b76307408ab4defbe2eb2b20d6b39848e3d40 100644 (file)
@@ -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.