From 2911135d640df76076a6dcf1c614d00db65d3902 Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Mon, 22 Jul 2019 12:08:56 +0200 Subject: Fixes a typo in LikeService's delete function that prevents the unlike function from working properly Signed-off-by: Cyrille Bollu --- lib/Service/LikeService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/LikeService.php b/lib/Service/LikeService.php index 044cf1c4..87d86456 100644 --- a/lib/Service/LikeService.php +++ b/lib/Service/LikeService.php @@ -198,7 +198,7 @@ class LikeService { } catch (ItemNotFoundException $e) { } - $this->streamActionService->setActionBool($actor->getId(), $postId, 'boosted', false); + $this->streamActionService->setActionBool($actor->getId(), $postId, 'liked', false); return $undo; } -- cgit v1.2.3