Skip to content
Snippets Groups Projects
Commit f7334700 authored by kaniini's avatar kaniini
Browse files

user view: unify a @context entry that was missed

parent 59cf7cf2
Branches
Tags
No related merge requests found
......@@ -17,7 +17,6 @@ defmodule Pleroma.Web.ActivityPub.UserView do
public_key = :public_key.pem_encode([public_key])
%{
"@context" => "https://www.w3.org/ns/activitystreams",
"id" => user.ap_id,
"type" => "Application",
"following" => "#{user.ap_id}/following",
......@@ -36,6 +35,7 @@ defmodule Pleroma.Web.ActivityPub.UserView do
"sharedInbox" => "#{Pleroma.Web.Endpoint.url()}/inbox"
}
}
|> Map.merge(Utils.make_json_ld_header())
end
def render("user.json", %{user: user}) do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment