diff options
Diffstat (limited to 'lib/Interfaces/Object/LikeInterface.php')
-rw-r--r-- | lib/Interfaces/Object/LikeInterface.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Interfaces/Object/LikeInterface.php b/lib/Interfaces/Object/LikeInterface.php index da08ab8e..27039305 100644 --- a/lib/Interfaces/Object/LikeInterface.php +++ b/lib/Interfaces/Object/LikeInterface.php @@ -109,7 +109,9 @@ class LikeInterface extends AbstractActivityPubInterface implements IActivityPub public function getItem(ACore $item): ACore { try { return $this->actionsRequest->getAction( - $item->getActorId(), $item->getObjectId(), Like::TYPE + $item->getActorId(), + $item->getObjectId(), + Like::TYPE ); } catch (ActionDoesNotExistException $e) { } |