origin domain

merge-requests/30/head
Bob Mottram 2021-09-20 18:36:58 +01:00
parent d62223ca85
commit 6e386a2e79
1 changed files with 2 additions and 2 deletions

View File

@ -2195,7 +2195,7 @@ def sendPost(signingPrivateKeyPem: str, projectVersion: str,
postToBox = 'tlblogs'
# get the actor inbox for the To handle
originDomain = toDomain
originDomain = domain
(inboxUrl, pubKeyId, pubKey,
toPersonId, sharedInbox,
avatarUrl, displayName) = getPersonBox(signingPrivateKeyPem,
@ -2342,7 +2342,7 @@ def sendPostViaServer(signingPrivateKeyPem: str, projectVersion: str,
postToBox = 'tlblogs'
# get the actor inbox for the To handle
originDomain = toDomain
originDomain = fromDomain
(inboxUrl, pubKeyId, pubKey,
fromPersonId, sharedInbox,
avatarUrl, displayName) = getPersonBox(signingPrivateKeyPem,