Fix wrong URI for the relay's followers collection

This commit is contained in:
Thibaut Girka 2019-03-28 17:21:53 +00:00
parent 79d127595b
commit eefef994e1

View 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