diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-01-07 09:09:53 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-02-05 15:10:24 -0100 |
commit | 8cb56b0710dc3ddc71b0961d2ab649fba3619456 (patch) | |
tree | 25a9c7e6b353ba4e12b56c31e82966176fba5916 /lib/Service | |
parent | 6f3f8fb86dcd42ac4288b0c9c505e98295cfe4a0 (diff) |
limit to viewable notes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/NoteService.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Service/NoteService.php b/lib/Service/NoteService.php index 5518874d..78508dec 100644 --- a/lib/Service/NoteService.php +++ b/lib/Service/NoteService.php @@ -384,14 +384,15 @@ class NoteService { /** + * @param Person $actor * @param string $hashtag * @param int $since * @param int $limit * * @return Note[] */ - public function getStreamLocalTag(string $hashtag, int $since = 0, int $limit = 5): array { - return $this->notesRequest->getStreamTag($hashtag, $since, $limit); + public function getStreamLocalTag(Person $actor, string $hashtag, int $since = 0, int $limit = 5): array { + return $this->notesRequest->getStreamTag($actor, $hashtag, $since, $limit); } |