Send to actor directory

master
Bob Mottram 2019-08-23 17:42:59 +01:00
parent 84c4dbadd8
commit 5329849483
1 changed files with 2 additions and 2 deletions

View File

@ -984,7 +984,7 @@ def sendPost(projectVersion: str, \
return 2
else:
if noOfFollowersOnDomain(baseDir,handle,toDomain)>1 and sharedInbox:
inboxUrl=sharedInbox #.replace('/inbox','/users/'+toDomainOriginal)
inboxUrl=sharedInbox.replace('/inbox','/actor/inbox')
if not inboxUrl:
return 3
@ -1214,7 +1214,7 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \
return 2
else:
if sharedInbox and sharedInboxUrl:
inboxUrl=sharedInboxUrl #.replace('/inbox','/users/'+toDomainOriginal)
inboxUrl=sharedInboxUrl.replace('/inbox','/actor/inbox')
if not inboxUrl:
if debug: