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 @@ defmodule Pleroma.Web.ActivityPub.UserView 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",