mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update FollowerService
This commit is contained in:
parent
6b0b2cfaa5
commit
0d8d6bc71e
1 changed files with 3 additions and 2 deletions
|
@ -46,7 +46,7 @@ class FollowerService
|
|||
|
||||
public static function audience($profile, $scope = null)
|
||||
{
|
||||
return (new self)->getAudienceInboxes($profile);
|
||||
return (new self)->getAudienceInboxes($profile, $scope);
|
||||
}
|
||||
|
||||
public static function softwareAudience($profile, $software = 'pixelfed')
|
||||
|
@ -60,7 +60,8 @@ class FollowerService
|
|||
return InstanceService::software($domain) === strtolower($software);
|
||||
})
|
||||
->unique()
|
||||
->values();
|
||||
->values()
|
||||
->toArray();
|
||||
}
|
||||
|
||||
protected function getAudienceInboxes($pid, $scope = null)
|
||||
|
|
Loading…
Reference in a new issue