summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrille Bollu <cyrille@bollu.be>2019-07-22 12:08:56 +0200
committerCyrille Bollu <cyrille@bollu.be>2019-07-22 12:08:56 +0200
commit2911135d640df76076a6dcf1c614d00db65d3902 (patch)
treefe330cb66088af3cdc0950ab01186aedcdee330c
parent5457de989d5fc254e61e2b3e513fd276f24b0476 (diff)
Fixes a typo in LikeService's delete function that prevents the unlike
function from working properly Signed-off-by: Cyrille Bollu <cyrille@bollu.be>
-rw-r--r--lib/Service/LikeService.php2
1 files changed, 1 insertions, 1 deletions
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;
}