forked from indymedia/epicyon
Don't use https when sending to onion address
parent
21f92dc268
commit
d9d702ce6e
3
posts.py
3
posts.py
|
@ -1535,6 +1535,9 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \
|
||||||
return 8
|
return 8
|
||||||
withDigest=True
|
withDigest=True
|
||||||
|
|
||||||
|
if toDomain.endswith('.onion'):
|
||||||
|
httpPrefix='http'
|
||||||
|
|
||||||
sharedInbox=False
|
sharedInbox=False
|
||||||
if toNickname=='inbox':
|
if toNickname=='inbox':
|
||||||
# shared inbox actor on @domain@domain
|
# shared inbox actor on @domain@domain
|
||||||
|
|
Loading…
Reference in New Issue