mirror of
https://github.com/friendica/friendica
synced 2024-12-23 07:20:15 +00:00
Added contact
This commit is contained in:
parent
cf4793ffa6
commit
eaf4bc6d4f
2 changed files with 4 additions and 0 deletions
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue