From 1e1a29f084967586b412425a868240240ac833b8 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 6 Aug 2018 08:15:18 +0000 Subject: [PATCH] activitypub: relay: fix up AS2 actor object --- lib/pleroma/web/activity_pub/views/user_view.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index adfbcab49..6ecb8862e 100644 --- a/lib/pleroma/web/activity_pub/views/user_view.ex +++ b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -20,8 +20,8 @@ def render("user.json", %{user: %{nickname: nil} = user}) do "@context" => "https://www.w3.org/ns/activitystreams", "id" => user.ap_id, "type" => "Application", - "following" => "#{user.ap_id}/relay/following", - "followers" => "#{user.ap_id}/relay/followers", + "following" => "#{user.ap_id}/following", + "followers" => "#{user.ap_id}/followers", "inbox" => "#{user.ap_id}/inbox", "name" => "Pleroma", "summary" => "Virtual actor for Pleroma relay",