projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb2f68
)
Add user profile page link.
author
Roger Braun
<roger@rogerbraun.net>
Mon, 1 May 2017 18:02:32 +0000
(20:02 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Mon, 1 May 2017 18:02:32 +0000
(20:02 +0200)
lib/pleroma/web/web_finger/web_finger.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/web_finger/web_finger.ex
b/lib/pleroma/web/web_finger/web_finger.ex
index ff10173efed1a83762b2208bad25baae4829cd0a..217b09dc5009c8d2075b5968b7c82271db689195 100644
(file)
--- a/
lib/pleroma/web/web_finger/web_finger.ex
+++ b/
lib/pleroma/web/web_finger/web_finger.ex
@@
-40,6
+40,7
@@
defmodule Pleroma.Web.WebFinger 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}"}}
]