mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
owa issue
This commit is contained in:
parent
4ed198380e
commit
0f1d940426
2 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,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' ) ",
|
||||
where ( hubloc_addr = '%s' or hubloc_id_url = '%s' ) and xchan_pubkey != '' ",
|
||||
dbesc(str_replace('acct:','',$keyId)),
|
||||
dbesc($keyId)
|
||||
);
|
||||
|
@ -41,7 +41,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' ) ",
|
||||
where ( hubloc_addr = '%s' or hubloc_id_url = '%s' ) and xchan_pubkey != '' ",
|
||||
dbesc(str_replace('acct:','',$keyId)),
|
||||
dbesc($keyId)
|
||||
);
|
||||
|
|
|
@ -164,7 +164,7 @@ class ZotSH(object):
|
|||
bnewhost = bnewhost.encode('utf-8').hex()
|
||||
|
||||
r = session_home.get(
|
||||
SERVER + "magic",
|
||||
SERVER + "/magic",
|
||||
params={'bdest': bnewhost, 'owa': 1},
|
||||
allow_redirects=True,
|
||||
verify=VERIFY_SSL )
|
||||
|
|
Loading…
Reference in a new issue