Browse Source

Update AP Inbox

Daniel Supernault 6 năm trước cách đây
mục cha
commit
332cae6392
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()