logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 2c1c221301ee91a8bccc1da2dc658b0f5a5598c9
parent: 09de76ad5af57c238188d41353232a872c6b30dc
Author: lain <lain@soykaf.club>
Date:   Sun, 25 Mar 2018 19:34:33 +0200

Fix follower collection id.

Diffstat:

Mlib/pleroma/web/activity_pub/views/user_view.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -86,7 +86,7 @@ defmodule Pleroma.Web.ActivityPub.UserView do def render("followers.json", %{user: user}) do {:ok, followers} = User.get_followers(user) %{ - "id" => "#{user.ap_id}/following", + "id" => "#{user.ap_id}/followers", "type" => "OrderedCollection", "totalItems" => length(followers), "first" => collection(followers, "#{user.ap_id}/followers", 1)