diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-06-27 13:19:38 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-06-27 13:19:38 -0100 |
commit | 419d2a3cd2fe1245ca6562f567c78efdc19a5a1f (patch) | |
tree | ac2168258493ea1cd4d3138bc89f4eafe772ad13 /lib | |
parent | 6d820876abb786b54671b9c954a46d2ae8d08a06 (diff) |
add actor in detail
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 91609820..224386d0 100644 --- a/lib/Interfaces/Object/FollowInterface.php +++ b/lib/Interfaces/Object/FollowInterface.php @@ -278,6 +278,7 @@ class FollowInterface implements IActivityPubInterface { /** @var SocialAppNotification $notification */ $notification = AP::$activityPub->getItemFromType(SocialAppNotification::TYPE); + $notification->addDetail('actor', $follow->getActorId()); $notification->setAttributedTo($follow->getActorId()) ->setId($follow->getId() . '/notification') ->setSummary('{actor} is following you') |