From d9d702ce6e6c4374bca44c8bb9c70da1e31be119 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 3 Mar 2020 19:20:26 +0000 Subject: [PATCH] Don't use https when sending to onion address --- posts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/posts.py b/posts.py index c8947b36..e0b74d6d 100644 --- a/posts.py +++ b/posts.py @@ -1535,6 +1535,9 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \ return 8 withDigest=True + if toDomain.endswith('.onion'): + httpPrefix='http' + sharedInbox=False if toNickname=='inbox': # shared inbox actor on @domain@domain