From e22e94cd9708406ef9a96c7ec4bb9216be630ec2 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 7 May 2014 20:31:21 -0700 Subject: ok *now* shred works with alternate config files --- include/zot.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index c919b0981..ea439a603 100644 --- a/include/zot.php +++ b/include/zot.php @@ -171,6 +171,10 @@ function zot_finger($webbie,$channel,$autofallback = true) { return array('success' => false); } + // potential issue here; the xchan_addr points to the primary hub. + // The webbie we were called with may not, so it might not be found + // unless we query for hubloc_addr instead of xchan_addr + $r = q("select xchan.*, hubloc.* from xchan left join hubloc on xchan_hash = hubloc_hash where xchan_addr = '%s' and (hubloc_flags & %d) limit 1", -- cgit v1.2.3