diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-07-01 09:26:04 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-07-01 09:26:04 -0100 |
commit | 46a0bad6a71b28269f4656cdefc2fb48314e6e63 (patch) | |
tree | 6d68379e88ec65281749b9f3cb86dff648383a8e /lib | |
parent | 882a6f57937ed949ea2bff8ae18c8707b8a31bee (diff) |
add actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Interfaces/Object/FollowInterface.php | 1 |
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) |