summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-07-01 09:26:04 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-07-01 09:26:04 -0100
commit46a0bad6a71b28269f4656cdefc2fb48314e6e63 (patch)
tree6d68379e88ec65281749b9f3cb86dff648383a8e /lib
parent882a6f57937ed949ea2bff8ae18c8707b8a31bee (diff)
add actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-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)