diff options
author | Mario <mario@mariovavti.com> | 2022-10-21 11:20:23 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-10-21 11:20:23 +0200 |
commit | 5edd13c6bb89c7434d8437f8cc74c038371fdbf8 (patch) | |
tree | bc7f29762e9aa306f80b4881128607a49b5bb74f /Zotlabs/Daemon/Gprobe.php | |
parent | 7ca289edd0d568a51dfdf225a5ef0e9663c38838 (diff) | |
download | volse-hubzilla-5edd13c6bb89c7434d8437f8cc74c038371fdbf8.tar.gz volse-hubzilla-5edd13c6bb89c7434d8437f8cc74c038371fdbf8.tar.bz2 volse-hubzilla-5edd13c6bb89c7434d8437f8cc74c038371fdbf8.zip |
fix various issues
Diffstat (limited to 'Zotlabs/Daemon/Gprobe.php')
-rw-r--r-- | Zotlabs/Daemon/Gprobe.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Zotlabs/Daemon/Gprobe.php b/Zotlabs/Daemon/Gprobe.php index c12ae4631..9483cb5f1 100644 --- a/Zotlabs/Daemon/Gprobe.php +++ b/Zotlabs/Daemon/Gprobe.php @@ -32,20 +32,16 @@ class Gprobe { } if (!$r) { - - - if ($is_webbie) { $url = Webfinger::zot_url(punify($url)); } if ($url) { $zf = Zotfinger::exec($url, null); - if (is_array($zf) && array_path_exists('signature/signer', $zf) && $zf['signature']['signer'] === $href && intval($zf['signature']['header_valid'])) { + if (is_array($zf) && array_path_exists('signature/signer', $zf) && $zf['signature']['signer'] === $url && intval($zf['signature']['header_valid'])) { Libzot::import_xchan($zf['data']); } } - } return; |