summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-07-10 15:22:35 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-07-10 15:22:35 -0100
commit5e1ed83bd8a6177178512e3d63fdb3f132c9d33c (patch)
treefe83b3d307727664b4ba92db86c8f2221a613a42 /lib
parente4515688de40256b046aba2e84e9eba957d571b5 (diff)
like is not limited to Public
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/LikeService.php6
1 files changed, 3 insertions, 3 deletions
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);