aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Owa.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-06 12:12:44 +0000
committerMario <mario@mariovavti.com>2020-04-06 12:12:44 +0000
commitaf7a31cd1400a6b2f21e7c0a622ab448179f0ef8 (patch)
treec53cd30140631a13709873bdb7667237d3b0cc5c /Zotlabs/Module/Owa.php
parentcb2996a40cf86d727bfda2df86bdcc8d643b46da (diff)
downloadvolse-hubzilla-af7a31cd1400a6b2f21e7c0a622ab448179f0ef8.tar.gz
volse-hubzilla-af7a31cd1400a6b2f21e7c0a622ab448179f0ef8.tar.bz2
volse-hubzilla-af7a31cd1400a6b2f21e7c0a622ab448179f0ef8.zip
owa: look for zot6 first
Diffstat (limited to 'Zotlabs/Module/Owa.php')
-rw-r--r--Zotlabs/Module/Owa.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Owa.php b/Zotlabs/Module/Owa.php
index 89f83bf8f..4c6fd6216 100644
--- a/Zotlabs/Module/Owa.php
+++ b/Zotlabs/Module/Owa.php
@@ -33,11 +33,11 @@ class Owa extends \Zotlabs\Web\Controller {
if($keyId) {
- // Hubzilla connections can have both zot and zot6 hublocs
- // The connections will usually be zot so match those first
+ // Hubzilla connections can have both zot6 and zot hublocs
+ // The connections will usually be zot6 so match those first
$r = q("select * from hubloc left join xchan on hubloc_hash = xchan_hash
- where ( hubloc_addr = '%s' or hubloc_id_url = '%s' ) and hubloc_network = 'zot' ",
+ where ( hubloc_addr = '%s' or hubloc_id_url = '%s' ) and hubloc_network = 'zot6' ",
dbesc(str_replace('acct:','',$keyId)),
dbesc($keyId)
);