summaryrefslogtreecommitdiffstats
path: root/lib/Interfaces/Object/LikeInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Interfaces/Object/LikeInterface.php')
-rw-r--r--lib/Interfaces/Object/LikeInterface.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Interfaces/Object/LikeInterface.php b/lib/Interfaces/Object/LikeInterface.php
index 27039305..4066cb67 100644
--- a/lib/Interfaces/Object/LikeInterface.php
+++ b/lib/Interfaces/Object/LikeInterface.php
@@ -172,9 +172,9 @@ class LikeInterface extends AbstractActivityPubInterface implements IActivityPub
}
private function updateDetails(Stream $post): void {
-// if (!$post->isLocal()) {
-// return;
-// }
+ // if (!$post->isLocal()) {
+ // return;
+ // }
$post->setDetailInt(
'likes', $this->actionsRequest->countActions($post->getId(), Like::TYPE)
@@ -209,7 +209,7 @@ class LikeInterface extends AbstractActivityPubInterface implements IActivityPub
} catch (StreamNotFoundException $e) {
/** @var SocialAppNotification $notification */
$notification = AP::$activityPub->getItemFromType(SocialAppNotification::TYPE);
-// $notification->setDetail('url', '');
+ // $notification->setDetail('url', '');
$notification->setDetailItem('post', $post);
$notification->addDetail('accounts', $author->getAccount());
$notification->setAttributedTo($author->getId())