From c656aea152174a0d3996dbc6baa7fc01eb63de40 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 10 Jul 2020 05:30:12 +0000 Subject: [PATCH] Issue 8857: Fix follow accept answers --- src/Protocol/ActivityPub/Processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index f541e4a33..0627c9ad3 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -777,7 +777,7 @@ class Processor $result = Contact::addRelationship($owner, $contact, $item, false, $note); if ($result === true) { - ActivityPub\Transmitter::sendContactAccept($item['author-link'], $item['author-id'], $owner['uid']); + ActivityPub\Transmitter::sendContactAccept($item['author-link'], $activity['id'], $owner['uid']); } $cid = Contact::getIdForURL($activity['actor'], $uid);