ok *now* shred works with alternate config files

This commit is contained in:
friendica
2014-05-07 20:31:21 -07:00
parent b26edefe3e
commit e22e94cd97
2 changed files with 16 additions and 10 deletions

View File

@@ -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",