diff options
author | redmatrix <git@macgirvin.com> | 2016-03-16 18:00:13 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-16 18:00:13 -0700 |
commit | 38eb79705e4de252f29e56543de8a287132b488e (patch) | |
tree | 4f9a638d10820d820166778c851cf63c984fb4b3 /mod | |
parent | 4188419b30ca1ceba597ad336f751f1b01d161a3 (diff) | |
download | volse-hubzilla-38eb79705e4de252f29e56543de8a287132b488e.tar.gz volse-hubzilla-38eb79705e4de252f29e56543de8a287132b488e.tar.bz2 volse-hubzilla-38eb79705e4de252f29e56543de8a287132b488e.zip |
lots of work on federated channel discovery
Diffstat (limited to 'mod')
-rw-r--r-- | mod/wfinger.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/wfinger.php b/mod/wfinger.php index 3f9826f9b..5c1a74f10 100644 --- a/mod/wfinger.php +++ b/mod/wfinger.php @@ -73,13 +73,15 @@ function wfinger_init(&$a) { $result['aliases'] = array(); - $result['properties'] = array('http://webfinger.net/ns/name' => $r[0]['channel_name']); + $result['properties'] = array( + 'http://webfinger.net/ns/name' => $r[0]['channel_name'], + 'http://xmlns.com/foaf/0.1/name' => $r[0]['channel_name'] + ); foreach($aliases as $alias) if($alias != $resource) $result['aliases'][] = $alias; - $result['links'] = array( array( |