diff options
author | zotlabs <mike@macgirvin.com> | 2018-11-04 13:56:32 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-11-04 13:56:32 -0800 |
commit | 51b4b6216f902464f80b088666f3c91af0d3f333 (patch) | |
tree | fe770f4d5ddd3328c0f125541b95494e1e658bf4 /Zotlabs/Module/Owa.php | |
parent | 3dab0d365d9fbc16eed7261ed3f68cf7f7f235c4 (diff) | |
download | volse-hubzilla-51b4b6216f902464f80b088666f3c91af0d3f333.tar.gz volse-hubzilla-51b4b6216f902464f80b088666f3c91af0d3f333.tar.bz2 volse-hubzilla-51b4b6216f902464f80b088666f3c91af0d3f333.zip |
z6 updates to owa, linkinfo improved image detection
Diffstat (limited to 'Zotlabs/Module/Owa.php')
-rw-r--r-- | Zotlabs/Module/Owa.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Zotlabs/Module/Owa.php b/Zotlabs/Module/Owa.php index 4a488086f..ad57f883c 100644 --- a/Zotlabs/Module/Owa.php +++ b/Zotlabs/Module/Owa.php @@ -31,15 +31,17 @@ class Owa extends \Zotlabs\Web\Controller { if($keyId) { $r = q("select * from hubloc left join xchan on hubloc_hash = xchan_hash - where hubloc_addr = '%s' ", - dbesc(str_replace('acct:','',$keyId)) + where ( hubloc_addr = '%s' or hubloc_id_url = '%s' ) ", + dbesc(str_replace('acct:','',$keyId)), + dbesc($keyId) ); if(! $r) { $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' ", - dbesc(str_replace('acct:','',$keyId)) + where ( hubloc_addr = '%s' or hubloc_id_url = '%s' ) ", + dbesc(str_replace('acct:','',$keyId)), + dbesc($keyId) ); } } |