Added followers and following count on Profile entity
This commit is contained in:
parent
ea233925a8
commit
370e2320a4
@ -51,7 +51,9 @@ class Activitypub_profile extends Managed_DataObject
|
||||
'outbox' => "{$url}/outbox.json",
|
||||
'display_name' => $profile->getFullname(),
|
||||
'followers' => "{$url}/followers.json",
|
||||
'followers_count' => $profile->subscriberCount(),
|
||||
'following' => "{$url}/following.json",
|
||||
'following_count' => $profile->subscriptionCount(),
|
||||
'liked' => "{$url}/liked.json",
|
||||
'liked_count' => Fave::countByProfile ($profile),
|
||||
'summary' => $profile->getDescription(),
|
||||
|
Reference in New Issue
Block a user