Added contact

This commit is contained in:
Michael 2021-11-17 06:28:39 +00:00
parent cf4793ffa6
commit eaf4bc6d4f
2 changed files with 4 additions and 0 deletions

View file

@ -48,6 +48,8 @@ class FollowersIds extends ContactEndpoint
'default' => 1, 'default' => 1,
]]); ]]);
// @todo Use Model\Contact\Relation::listFollowers($cid, $condition, $count);
System::jsonExit(self::ids( System::jsonExit(self::ids(
[Contact::FOLLOWER, Contact::FRIEND], [Contact::FOLLOWER, Contact::FRIEND],
self::getUid($contact_id, $screen_name), self::getUid($contact_id, $screen_name),

View file

@ -48,6 +48,8 @@ class Ids extends ContactEndpoint
'default' => 1, 'default' => 1,
]]); ]]);
// @todo Use Model\Contact\Relation::listFollows($cid, $condition, $count);
System::jsonExit(self::ids( System::jsonExit(self::ids(
[Contact::SHARING, Contact::FRIEND], [Contact::SHARING, Contact::FRIEND],
self::getUid($contact_id, $screen_name), self::getUid($contact_id, $screen_name),