From: Michael Date: Wed, 17 Nov 2021 06:28:39 +0000 (+0000) Subject: Added contact X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eaf4bc6d4f203631f8f9ac58bd957eb3505eb5da;p=friendica.git Added contact --- diff --git a/src/Module/Api/Twitter/Followers/Ids.php b/src/Module/Api/Twitter/Followers/Ids.php index ff39532030..6412b0eaa2 100644 --- a/src/Module/Api/Twitter/Followers/Ids.php +++ b/src/Module/Api/Twitter/Followers/Ids.php @@ -48,6 +48,8 @@ class FollowersIds extends ContactEndpoint 'default' => 1, ]]); + // @todo Use Model\Contact\Relation::listFollowers($cid, $condition, $count); + System::jsonExit(self::ids( [Contact::FOLLOWER, Contact::FRIEND], self::getUid($contact_id, $screen_name), diff --git a/src/Module/Api/Twitter/Friends/Ids.php b/src/Module/Api/Twitter/Friends/Ids.php index fc20336b98..6f11776725 100644 --- a/src/Module/Api/Twitter/Friends/Ids.php +++ b/src/Module/Api/Twitter/Friends/Ids.php @@ -48,6 +48,8 @@ class Ids extends ContactEndpoint 'default' => 1, ]]); + // @todo Use Model\Contact\Relation::listFollows($cid, $condition, $count); + System::jsonExit(self::ids( [Contact::SHARING, Contact::FRIEND], self::getUid($contact_id, $screen_name),