aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Gprobe.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Daemon/Gprobe.php')
-rw-r--r--Zotlabs/Daemon/Gprobe.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/Zotlabs/Daemon/Gprobe.php b/Zotlabs/Daemon/Gprobe.php
index 1124ead54..9483cb5f1 100644
--- a/Zotlabs/Daemon/Gprobe.php
+++ b/Zotlabs/Daemon/Gprobe.php
@@ -38,10 +38,9 @@ class Gprobe {
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'])) {
- Libzot::import_xchan($zf['data']);
+ if (is_array($zf) && array_path_exists('signature/signer', $zf) && $zf['signature']['signer'] === $url && intval($zf['signature']['header_valid'])) {
+ Libzot::import_xchan($zf['data']);
+ }
}
}