copy activity id instead of guessing blindly

see #1710
This commit is contained in:
trwnh 2019-09-24 14:33:29 -05:00 committed by GitHub
parent f7153e8ce0
commit 995d604ea0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()