main
Bob Mottram 2020-05-17 12:16:40 +00:00
parent a9f3f048ae
commit 34e811f87d
1 changed files with 7 additions and 8 deletions

View File

@ -1645,7 +1645,7 @@ def sendSignedJson(postJsonObject: {}, session, baseDir: str,
handle = handleBase + toNickname handle = handleBase + toNickname
else: else:
singleUserInstanceNickname = 'dev' singleUserInstanceNickname = 'dev'
handle = handleBase+singleUserInstanceNickname handle = handleBase + singleUserInstanceNickname
if debug: if debug:
print('DEBUG: handle - ' + handle + ' toPort ' + str(toPort)) print('DEBUG: handle - ' + handle + ' toPort ' + str(toPort))
@ -1669,13 +1669,12 @@ def sendSignedJson(postJsonObject: {}, session, baseDir: str,
postToBox = 'outbox' postToBox = 'outbox'
# get the actor inbox/outbox/capabilities for the To handle # get the actor inbox/outbox/capabilities for the To handle
(inboxUrl, pubKeyId, pubKey, (inboxUrl, pubKeyId, pubKey, toPersonId, sharedInboxUrl,
toPersonId, sharedInboxUrl, capabilityAcquisition, avatarUrl,
capabilityAcquisition, displayName) = getPersonBox(baseDir, session, wfRequest,
avatarUrl, displayName) = getPersonBox(baseDir, session, wfRequest, personCache,
personCache, projectVersion, httpPrefix,
projectVersion, httpPrefix, nickname, domain, postToBox)
nickname, domain, postToBox)
if nickname == 'capabilities': if nickname == 'capabilities':
inboxUrl = capabilityAcquisition inboxUrl = capabilityAcquisition