forked from GNUsocial/gnu-social
use new dedicated hcard method for Webfinger profile
This commit is contained in:
parent
76216af806
commit
6578e0e1af
@ -68,7 +68,7 @@ class WebfingerAction extends Action
|
||||
// hCard
|
||||
$xrd->links[] = array('rel' => 'http://microformats.org/profile/hcard',
|
||||
'type' => 'text/html',
|
||||
'href' => common_profile_url($nick));
|
||||
'href' => common_local_url('hcard', array('nickname' => $nick)));
|
||||
|
||||
// XFN
|
||||
$xrd->links[] = array('rel' => 'http://gmpg.org/xfn/11',
|
||||
|
Loading…
Reference in New Issue
Block a user