activitypub: relay: add relay following/followers collection URLs
This commit is contained in:
parent
1c40a631e8
commit
56dc8db582
|
@ -20,6 +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",
|
||||||
|
"followers" => "#{user.ap_id}/relay/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",
|
||||||
|
|
Loading…
Reference in a new issue