mirror of https://gitlab.com/bashrc2/epicyon
Send to inbox
parent
a162c1f46d
commit
84c4dbadd8
4
posts.py
4
posts.py
|
@ -984,7 +984,7 @@ def sendPost(projectVersion: str, \
|
||||||
return 2
|
return 2
|
||||||
else:
|
else:
|
||||||
if noOfFollowersOnDomain(baseDir,handle,toDomain)>1 and sharedInbox:
|
if noOfFollowersOnDomain(baseDir,handle,toDomain)>1 and sharedInbox:
|
||||||
inboxUrl=sharedInbox.replace('/inbox','/users/'+toDomainOriginal)
|
inboxUrl=sharedInbox #.replace('/inbox','/users/'+toDomainOriginal)
|
||||||
|
|
||||||
if not inboxUrl:
|
if not inboxUrl:
|
||||||
return 3
|
return 3
|
||||||
|
@ -1214,7 +1214,7 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \
|
||||||
return 2
|
return 2
|
||||||
else:
|
else:
|
||||||
if sharedInbox and sharedInboxUrl:
|
if sharedInbox and sharedInboxUrl:
|
||||||
inboxUrl=sharedInboxUrl.replace('/inbox','/users/'+toDomainOriginal)
|
inboxUrl=sharedInboxUrl #.replace('/inbox','/users/'+toDomainOriginal)
|
||||||
|
|
||||||
if not inboxUrl:
|
if not inboxUrl:
|
||||||
if debug:
|
if debug:
|
||||||
|
|
Loading…
Reference in New Issue