summaryrefslogtreecommitdiffstats
path: root/lib/Interfaces/Object/FollowInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Interfaces/Object/FollowInterface.php')
-rw-r--r--lib/Interfaces/Object/FollowInterface.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Interfaces/Object/FollowInterface.php b/lib/Interfaces/Object/FollowInterface.php
index 70326087..304304f1 100644
--- a/lib/Interfaces/Object/FollowInterface.php
+++ b/lib/Interfaces/Object/FollowInterface.php
@@ -286,6 +286,7 @@ class FollowInterface implements IActivityPubInterface {
$notification = AP::$activityPub->getItemFromType(SocialAppNotification::TYPE);
$notification->setDetail('url', $follower->getId());
$notification->setDetail('account', $follower->getAccount());
+ $notification->setDetailItem('actor', $follower);
$notification->setAttributedTo($follow->getActorId())
->setId($follow->getId() . '/notification')
->setSubType(Follow::TYPE)