kopia lustrzana https://github.com/nextcloud/social
rodzic
882a6f5793
commit
46a0bad6a7
|
@ -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)
|
||||||
|
|
Ładowanie…
Reference in New Issue