소스 검색

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

Update AP Inbox
daniel 6 년 전
부모
커밋
01d6f5d9c4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()