Fix wrong URI for the relay's followers collection
authorThibaut Girka <thib.pleroma-6b5f@sitedethib.com>
Thu, 28 Mar 2019 17:21:53 +0000 (17:21 +0000)
committerThibaut Girka <thib.pleroma-6b5f@sitedethib.com>
Thu, 28 Mar 2019 17:21:53 +0000 (17:21 +0000)
relay/actor.py

index a8d6613..ad09ecb 100644 (file)
@@ -193,7 +193,7 @@ async def handle_relay(actor, data, request):
     message = {
         "@context": "https://www.w3.org/ns/activitystreams",
         "type": "Announce",
-        "to": ["https://{}/actor/followers".format(request.host)],
+        "to": ["https://{}/followers".format(request.host)],
         "actor": "https://{}/actor".format(request.host),
         "object": object_id,
         "id": activity_id