From: William Pitcock Date: Mon, 6 Aug 2018 07:48:08 +0000 (+0000) Subject: activitypub: relay: add relay following/followers collection URLs X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=56dc8db58212940cf81f159f4c4730211fef38b9;p=akkoma activitypub: relay: add relay following/followers collection URLs --- 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",