sforkowany z mirror/social
add actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>feature/noid/sql-rewrite-0929
rodzic
882a6f5793
commit
46a0bad6a7
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue