finish updating zot_finger instances

This commit is contained in:
redmatrix
2016-05-21 18:18:33 -07:00
parent ed56b6e67b
commit 1cb311cef9
10 changed files with 29 additions and 44 deletions

View File

@@ -80,11 +80,9 @@ class Auth {
if(! $x) {
// finger them if they can't be found.
$ret = zot_finger($address, null);
if ($ret['success']) {
$j = json_decode($ret['body'], true);
if($j)
import_xchan($j);
$j = Finger::run($address, null);
if ($j['success']) {
import_xchan($j);
$x = q("select * from hubloc left join xchan on xchan_hash = hubloc_hash
where hubloc_addr = '%s' order by hubloc_id desc",
dbesc($address)