rework to use properties instead of compound typing, per SocialCG

This commit is contained in:
Ariadne Conill 2019-10-19 17:46:24 +00:00
commit c9280b9730
5 changed files with 7 additions and 11 deletions

View file

@ -55,7 +55,8 @@ defmodule Pleroma.Web.ActivityPub.UserView do
"owner" => user.ap_id,
"publicKeyPem" => public_key
},
"endpoints" => endpoints
"endpoints" => endpoints,
"invisible" => User.invisible?(user)
}
|> Map.merge(Utils.make_json_ld_header())
end