Merge pull request #707 from pixelfed/frontend-ui-refactor

Update AP Inbox
This commit is contained in:
daniel 2018-12-27 22:56:08 -07:00 committed by GitHub
commit 44246143cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,7 +220,7 @@ class Inbox
// send Accept to remote profile // send Accept to remote profile
$accept = [ $accept = [
'@context' => 'https://www.w3.org/ns/activitystreams', '@context' => 'https://www.w3.org/ns/activitystreams',
'id' => $target->permalink().'#accepts/follows/', 'id' => $target->permalink().'#accepts/follows/' . $follower->id,
'type' => 'Accept', 'type' => 'Accept',
'actor' => $target->permalink(), 'actor' => $target->permalink(),
'object' => [ 'object' => [