Handle of shared inbox

master
Bob Mottram 2019-08-22 21:01:01 +01:00
parent 2af276f0ae
commit 9cd87d13d8
1 changed files with 5 additions and 1 deletions

View File

@ -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))