Merge pull request #8858 from annando/issue-8857

Issue 8857: Fix follow accept answers
This commit is contained in:
Hypolite Petovan 2020-07-10 08:02:20 -04:00 committed by GitHub
commit 42a3f278f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);