diff options
author | Mario Vavti <mario@mariovavti.com> | 2020-06-14 18:47:18 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2020-06-14 18:47:18 +0200 |
commit | ec4dea0920f1f5a3cc1899ca2302acd71ceb0405 (patch) | |
tree | e55093cd91090ad2bab558b3868cfd36258d6d22 /Zotlabs/Module/Wfinger.php | |
parent | 7270da6a28f836f94f6d98557df9532e587c3646 (diff) | |
download | volse-hubzilla-ec4dea0920f1f5a3cc1899ca2302acd71ceb0405.tar.gz volse-hubzilla-ec4dea0920f1f5a3cc1899ca2302acd71ceb0405.tar.bz2 volse-hubzilla-ec4dea0920f1f5a3cc1899ca2302acd71ceb0405.zip |
zot6 does not appear to use zfinger
Diffstat (limited to 'Zotlabs/Module/Wfinger.php')
-rw-r--r-- | Zotlabs/Module/Wfinger.php | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php index efb380033..d24a31a15 100644 --- a/Zotlabs/Module/Wfinger.php +++ b/Zotlabs/Module/Wfinger.php @@ -163,13 +163,13 @@ class Wfinger extends \Zotlabs\Web\Controller { else { $result['links'] = [ - + [ 'rel' => 'http://webfinger.net/rel/avatar', 'type' => $r[0]['xchan_photo_mimetype'], 'href' => $r[0]['xchan_photo_l'] ], - + [ 'rel' => 'http://microformats.org/profile/hcard', 'type' => 'text/html', @@ -181,12 +181,11 @@ class Wfinger extends \Zotlabs\Web\Controller { 'href' => z_root() ], - [ 'rel' => 'http://webfinger.net/rel/profile-page', 'href' => z_root() . '/profile/' . $r[0]['channel_address'], ], - + [ 'rel' => 'http://schemas.google.com/g/2010#updates-from', 'type' => 'application/atom+xml', @@ -197,7 +196,7 @@ class Wfinger extends \Zotlabs\Web\Controller { 'rel' => 'http://webfinger.net/rel/blog', 'href' => z_root() . '/channel/' . $r[0]['channel_address'], ], - + [ 'rel' => 'http://ostatus.org/schema/1.0/subscribe', 'template' => z_root() . '/follow?f=&url={uri}', @@ -220,7 +219,6 @@ class Wfinger extends \Zotlabs\Web\Controller { 'href' => z_root() . '/owa', ], - [ 'rel' => 'magic-public-key', 'href' => 'data:application/magic-public-key,' . salmon_key($r[0]['channel_pubkey']), @@ -242,7 +240,6 @@ class Wfinger extends \Zotlabs\Web\Controller { $arr = [ 'channel' => $r[0], 'pchan' => $pchan, 'request' => $_REQUEST, 'result' => $result ]; call_hooks('webfinger',$arr); - json_return_and_die($arr['result'],'application/jrd+json'); } |