Add user profile page link.

This commit is contained in:
Roger Braun 2017-05-01 20:02:32 +02:00
parent ceb2f68432
commit 76e653b0d8
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ def represent_user(user) do
{:Subject, "acct:#{user.nickname}@#{Pleroma.Web.host}"},
{:Alias, user.ap_id},
{:Link, %{rel: "http://schemas.google.com/g/2010#updates-from", type: "application/atom+xml", href: OStatus.feed_path(user)}},
{:Link, %{rel: "ttp://webfinger.net/rel/profile-page", type: "text/html", href: user.ap_id}},
{:Link, %{rel: "salmon", href: OStatus.salmon_path(user)}},
{:Link, %{rel: "magic-public-key", href: "data:application/magic-public-key,#{magic_key}"}}
]