소스 검색

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

Use correct ID when Accepting an activity
daniel 5 년 전
부모
커밋
ce6f6a251f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Util/ActivityPub/Inbox.php

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

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