aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wfinger.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-16 18:00:13 -0700
committerredmatrix <git@macgirvin.com>2016-03-16 18:00:13 -0700
commit38eb79705e4de252f29e56543de8a287132b488e (patch)
tree4f9a638d10820d820166778c851cf63c984fb4b3 /mod/wfinger.php
parent4188419b30ca1ceba597ad336f751f1b01d161a3 (diff)
downloadvolse-hubzilla-38eb79705e4de252f29e56543de8a287132b488e.tar.gz
volse-hubzilla-38eb79705e4de252f29e56543de8a287132b488e.tar.bz2
volse-hubzilla-38eb79705e4de252f29e56543de8a287132b488e.zip
lots of work on federated channel discovery
Diffstat (limited to 'mod/wfinger.php')
-rw-r--r--mod/wfinger.php6
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(