diff options
author | friendica <info@friendica.com> | 2014-05-07 20:31:21 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-07 20:31:21 -0700 |
commit | e22e94cd9708406ef9a96c7ec4bb9216be630ec2 (patch) | |
tree | e6a03762e95e6ec492dffcd9c13cfa343a153ffe /include/zot.php | |
parent | b26edefe3e16ff7c7a315f08a241a9cd25fbb162 (diff) | |
download | volse-hubzilla-e22e94cd9708406ef9a96c7ec4bb9216be630ec2.tar.gz volse-hubzilla-e22e94cd9708406ef9a96c7ec4bb9216be630ec2.tar.bz2 volse-hubzilla-e22e94cd9708406ef9a96c7ec4bb9216be630ec2.zip |
ok *now* shred works with alternate config files
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 4 |
1 files changed, 4 insertions, 0 deletions
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", |