Zot/Finger: ignore deleted hublocs

This commit is contained in:
zotlabs
2018-08-21 21:38:10 -07:00
parent 8bf1e3a944
commit 42c4a0da51
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ class Finger {
$r = q("select xchan.*, hubloc.* from xchan
left join hubloc on xchan_hash = hubloc_hash
where xchan_addr = '%s' and hubloc_primary = 1 limit 1",
where xchan_addr = '%s' and hubloc_primary = 1 and hubloc_deleted = 0 limit 1",
dbesc($xchan_addr)
);