diff options
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r-- | include/dir_fns.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php index 068ab4831..08a9fb653 100644 --- a/include/dir_fns.php +++ b/include/dir_fns.php @@ -357,11 +357,8 @@ function update_directory_entry($ud) { } $x = \Zotlabs\Zot\Finger::run($ud['ud_addr'], ''); if ($x['success']) { - $j = json_decode($x['body'], true); - if ($j) - $success = true; - - $y = import_xchan($j, 0, $ud); + import_xchan($x, 0, $ud); + $success = true; } if (! $success) { q("update updates set ud_last = '%s' where ud_addr = '%s'", |