From 53298494831b1fee1591e6b8168c168e45dc6f71 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 23 Aug 2019 17:42:59 +0100 Subject: [PATCH] Send to actor directory --- posts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posts.py b/posts.py index e45727294..c2e052ea8 100644 --- a/posts.py +++ b/posts.py @@ -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: