diff --git a/posts.py b/posts.py index 665bf1c60..7dcaec43c 100644 --- a/posts.py +++ b/posts.py @@ -1174,7 +1174,11 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \ if ':' not in toDomain: toDomain=toDomain+':'+str(toPort) - handle=httpPrefix+'://'+toDomain+'/@'+toNickname + if toNickname!='inbox': + handle=httpPrefix+'://'+toDomain+'/@'+toNickname + else: + handle=httpPrefix+'://'+toDomain+'/users/'+toNickname + if debug: print('DEBUG: handle - '+handle+' toPort '+str(toPort))