From 5e1ed83bd8a6177178512e3d63fdb3f132c9d33c Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Wed, 10 Jul 2019 15:22:35 -0100 Subject: like is not limited to Public Signed-off-by: Maxence Lange --- lib/Service/LikeService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/Service/LikeService.php b/lib/Service/LikeService.php index 4af98f34..044cf1c4 100644 --- a/lib/Service/LikeService.php +++ b/lib/Service/LikeService.php @@ -129,9 +129,9 @@ class LikeService { throw new StreamNotFoundException('Stream is not a Note'); } - if (!$note->isPublic()) { - throw new StreamNotFoundException('Stream is not Public'); - } +// if (!$note->isPublic()) { +// throw new StreamNotFoundException('Stream is not Public'); +// } $like->setObjectId($note->getId()); $this->assignInstance($like, $actor, $note); -- cgit v1.2.3