Browse Source

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

Update AP Inbox
daniel 6 years ago
parent
commit
01d6f5d9c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Util/ActivityPub/Inbox.php

+ 1 - 1
app/Util/ActivityPub/Inbox.php

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