mirror of https://gitlab.com/bashrc2/epicyon
Check that onion domain has been given
parent
c7f6a49cf9
commit
b44d364449
5
inbox.py
5
inbox.py
|
@ -190,8 +190,9 @@ def getPersonPubKey(baseDir: str,session,personUrl: str, \
|
|||
if debug:
|
||||
print('DEBUG: Obtaining public key for '+personUrl)
|
||||
personDomain=domain
|
||||
if '.onion/' in personUrl:
|
||||
personDomain=onionDomain
|
||||
if onionDomain:
|
||||
if '.onion/' in personUrl:
|
||||
personDomain=onionDomain
|
||||
asHeader = {
|
||||
'Accept': 'application/activity+json; profile="https://www.w3.org/ns/activitystreams"'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue