aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2020-12-17 12:46:22 +0100
committerMario Vavti <mario@mariovavti.com>2020-12-17 12:46:22 +0100
commit7ebba75fa25a51ec1d751ba3b27b8fe70f166224 (patch)
tree8c64ae3cedc0a1fed96a992eb52e4653fc2159f2 /Zotlabs
parentf13bff2a767cf3a575698f55dad978c7a4cc1a72 (diff)
downloadvolse-hubzilla-7ebba75fa25a51ec1d751ba3b27b8fe70f166224.tar.gz
volse-hubzilla-7ebba75fa25a51ec1d751ba3b27b8fe70f166224.tar.bz2
volse-hubzilla-7ebba75fa25a51ec1d751ba3b27b8fe70f166224.zip
restrict owa to zot6 and zot network until the hubloc madness with activitypub and possibly also diaspora will be solved
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Owa.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Owa.php b/Zotlabs/Module/Owa.php
index 0ed73c8c2..a974f2c1a 100644
--- a/Zotlabs/Module/Owa.php
+++ b/Zotlabs/Module/Owa.php
@@ -32,7 +32,7 @@ class Owa extends Controller {
$keyId = $sigblock['keyId'];
if ($keyId) {
$r = q("SELECT * FROM hubloc LEFT JOIN xchan ON hubloc_hash = xchan_hash
- WHERE ( hubloc_addr = '%s' OR hubloc_id_url = '%s' ) AND hubloc_deleted = 0",
+ WHERE ( hubloc_addr = '%s' OR hubloc_id_url = '%s' ) AND hubloc_network IN ('zot6', 'zot')",
dbesc(str_replace('acct:','',$keyId)),
dbesc($keyId)
);
@@ -40,7 +40,7 @@ class Owa extends Controller {
$found = discover_by_webbie(str_replace('acct:','',$keyId));
if ($found) {
$r = q("SELECT * FROM hubloc LEFT JOIN xchan ON hubloc_hash = xchan_hash
- WHERE ( hubloc_addr = '%s' OR hubloc_id_url = '%s' ) AND hubloc_deleted = 0",
+ WHERE ( hubloc_addr = '%s' OR hubloc_id_url = '%s' ) AND hubloc_network IN ('zot6', 'zot')",
dbesc(str_replace('acct:','',$keyId)),
dbesc($keyId)
);