mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
a9f3f048ae
commit
34e811f87d
15
posts.py
15
posts.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue