diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-08-06 07:48:08 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-08-06 08:22:14 +0000 |
commit | 56dc8db58212940cf81f159f4c4730211fef38b9 (patch) | |
tree | 17f885a89c3661239054e3c9f6eda95b880dade9 | |
parent | 1c40a631e809ed7ab7bdd0ef46ff97a124b858e8 (diff) | |
download | pleroma-56dc8db58212940cf81f159f4c4730211fef38b9.tar.gz pleroma-56dc8db58212940cf81f159f4c4730211fef38b9.zip |
activitypub: relay: add relay following/followers collection URLs
-rw-r--r-- | lib/pleroma/web/activity_pub/views/user_view.ex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index 52f09fcd5..adfbcab49 100644 --- a/lib/pleroma/web/activity_pub/views/user_view.ex +++ b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -20,6 +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", "inbox" => "#{user.ap_id}/inbox", "name" => "Pleroma", "summary" => "Virtual actor for Pleroma relay", |