aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-01 16:38:14 -0800
committerzotlabs <mike@macgirvin.com>2018-03-01 16:38:14 -0800
commit1620691cbe076b463e0c86542be8fa5be967ddfe (patch)
tree035053a414cdd5df095da915bb7f40b7756d8479 /Zotlabs
parent49bd859136f4aab63878ce5fedfbc541a644e843 (diff)
downloadvolse-hubzilla-1620691cbe076b463e0c86542be8fa5be967ddfe.tar.gz
volse-hubzilla-1620691cbe076b463e0c86542be8fa5be967ddfe.tar.bz2
volse-hubzilla-1620691cbe076b463e0c86542be8fa5be967ddfe.zip
add federation property to webfinger
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Wfinger.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php
index 753721d27..81d4beaed 100644
--- a/Zotlabs/Module/Wfinger.php
+++ b/Zotlabs/Module/Wfinger.php
@@ -123,7 +123,8 @@ class Wfinger extends \Zotlabs\Web\Controller {
$result['properties'] = [
'http://webfinger.net/ns/name' => $r[0]['channel_name'],
'http://xmlns.com/foaf/0.1/name' => $r[0]['channel_name'],
- 'https://w3id.org/security/v1#publicKeyPem' => $r[0]['xchan_pubkey']
+ 'https://w3id.org/security/v1#publicKeyPem' => $r[0]['xchan_pubkey'],
+ 'http://purl.org/zot/federation' => 'zot'
];
foreach($aliases as $alias)