aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Zfinger.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2020-06-14 18:47:18 +0200
committerMario Vavti <mario@mariovavti.com>2020-06-14 18:47:18 +0200
commitec4dea0920f1f5a3cc1899ca2302acd71ceb0405 (patch)
treee55093cd91090ad2bab558b3868cfd36258d6d22 /Zotlabs/Module/Zfinger.php
parent7270da6a28f836f94f6d98557df9532e587c3646 (diff)
downloadvolse-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/Zfinger.php')
-rw-r--r--Zotlabs/Module/Zfinger.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Zfinger.php b/Zotlabs/Module/Zfinger.php
index 0151d458a..533f0a5db 100644
--- a/Zotlabs/Module/Zfinger.php
+++ b/Zotlabs/Module/Zfinger.php
@@ -10,11 +10,11 @@ class Zfinger extends \Zotlabs\Web\Controller {
require_once('include/zot.php');
require_once('include/crypto.php');
-
- $x = Libzot::zotinfo($_REQUEST);
- if($x && $x['id'] && $x['public_key']) {
- $chan_hash = Libzot::make_xchan_hash($x['id'],$x['public_key']);
+ $x = zotinfo($_REQUEST);
+
+ if($x && $x['guid'] && $x['guid_sig']) {
+ $chan_hash = make_xchan_hash($x['guid'],$x['guid_sig']);
if($chan_hash) {
$chan = channelx_by_hash($chan_hash);
}