aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-01 16:38:14 -0800
committerMario Vavti <mario@mariovavti.com>2018-03-02 20:40:45 +0100
commit226aad357d58dd11283e83b4325ee65691fadaef (patch)
tree3584aaa9aa000a62c87380844f6ef66ba89ea62c /Zotlabs
parent83365840af63b655ae83f263fbb9bd3d6b5fddd4 (diff)
downloadvolse-hubzilla-226aad357d58dd11283e83b4325ee65691fadaef.tar.gz
volse-hubzilla-226aad357d58dd11283e83b4325ee65691fadaef.tar.bz2
volse-hubzilla-226aad357d58dd11283e83b4325ee65691fadaef.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)