activitypub: relay: fix up AS2 actor object

This commit is contained in:
William Pitcock 2018-08-06 08:15:18 +00:00
parent e49131bb72
commit 1e1a29f084

View file

@ -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",