Include Zot6 hubs in the Grid scope

This commit is contained in:
Max Kostikov 2019-06-18 22:17:50 +02:00
parent b5be0a2e3e
commit 983d6d3b42

View File

@ -13,7 +13,7 @@ function is_matrix_url($url) {
if(array_key_exists($m['host'],$remembered)) if(array_key_exists($m['host'],$remembered))
return $remembered[$m['host']]; return $remembered[$m['host']];
$r = q("select hubloc_url from hubloc where hubloc_host = '%s' and hubloc_network = 'zot' limit 1", $r = q("select hubloc_url from hubloc where hubloc_host = '%s' and hubloc_network LIKE 'zot%' limit 1",
dbesc($m['host']) dbesc($m['host'])
); );
if($r) { if($r) {