Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/531/head
Maxence Lange 2019-07-01 09:26:04 -01:00
rodzic 882a6f5793
commit 46a0bad6a7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -286,6 +286,7 @@ class FollowInterface implements IActivityPubInterface {
$notification = AP::$activityPub->getItemFromType(SocialAppNotification::TYPE); $notification = AP::$activityPub->getItemFromType(SocialAppNotification::TYPE);
$notification->setDetail('url', $follower->getId()); $notification->setDetail('url', $follower->getId());
$notification->setDetail('account', $follower->getAccount()); $notification->setDetail('account', $follower->getAccount());
$notification->setDetailItem('actor', $follower);
$notification->setAttributedTo($follow->getActorId()) $notification->setAttributedTo($follow->getActorId())
->setId($follow->getId() . '/notification') ->setId($follow->getId() . '/notification')
->setSubType(Follow::TYPE) ->setSubType(Follow::TYPE)