Selaa lähdekoodia

Update AP Inbox

Daniel Supernault 6 vuotta sitten
vanhempi
commit
1cca479fad
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
             // send Accept to remote profile
             $accept = [
             $accept = [
                 '@context' => 'https://www.w3.org/ns/activitystreams',
                 '@context' => 'https://www.w3.org/ns/activitystreams',
-                'id'       => $target->permalink().'#accepts/follows/',
+                'id'       => $target->permalink().'#accepts/follows/' . $follower->id,
                 'type'     => 'Accept',
                 'type'     => 'Accept',
                 'actor'    => $target->permalink(),
                 'actor'    => $target->permalink(),
                 'object'   => [
                 'object'   => [