activitypub: relay: fix up AS2 actor object
authorWilliam Pitcock <nenolod@dereferenced.org>
Mon, 6 Aug 2018 08:15:18 +0000 (08:15 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Mon, 6 Aug 2018 08:22:17 +0000 (08:22 +0000)
lib/pleroma/web/activity_pub/views/user_view.ex

index adfbcab49fdf8afb5a15d24374d0befb841ccd42..6ecb8862ed39c1bbe4ea8226db239f5af76f74d8 100644 (file)
@@ -20,8 +20,8 @@ defmodule Pleroma.Web.ActivityPub.UserView 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",