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
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ def render("user.json", %{user: %{nickname: nil} = user}) do
"@context" => "https://www.w3.org/ns/activitystreams", "@context" => "https://www.w3.org/ns/activitystreams",
"id" => user.ap_id, "id" => user.ap_id,
"type" => "Application", "type" => "Application",
"following" => "#{user.ap_id}/relay/following", "following" => "#{user.ap_id}/following",
"followers" => "#{user.ap_id}/relay/followers", "followers" => "#{user.ap_id}/followers",
"inbox" => "#{user.ap_id}/inbox", "inbox" => "#{user.ap_id}/inbox",
"name" => "Pleroma", "name" => "Pleroma",
"summary" => "Virtual actor for Pleroma relay", "summary" => "Virtual actor for Pleroma relay",