瀏覽代碼

Update AP Inbox

Daniel Supernault 6 年之前
父節點
當前提交
1cca479fad
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Util/ActivityPub/Inbox.php

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

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