1
0
Fork 0

Merge pull request #1715 from pixelfed/trwnh-patch-1

Use correct ID when Accepting an activity
This commit is contained in:
daniel 2019-09-24 18:18:45 -06:00 committed by GitHub
commit ce6f6a251f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class Inbox
'type' => 'Accept', 'type' => 'Accept',
'actor' => $target->permalink(), 'actor' => $target->permalink(),
'object' => [ 'object' => [
'id' => $actor->permalink('#follows/' . $follower->id), 'id' => $this->payload['id'],
'actor' => $actor->permalink(), 'actor' => $actor->permalink(),
'type' => 'Follow', 'type' => 'Follow',
'object' => $target->permalink() 'object' => $target->permalink()