Merge branch 'patch-1' into 'master'

Fix wrong URI for the relay's followers collection

See merge request pleroma/relay!10
This commit is contained in:
kaniini 2019-03-29 11:29:13 +00:00
commit 9d1c6a3fa2

View file

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