mirror of https://gitlab.com/bashrc2/epicyon
users
parent
361fbf9e0f
commit
a162c1f46d
|
@ -815,12 +815,11 @@ if args.actor:
|
|||
else:
|
||||
httpPrefix='https'
|
||||
port=443
|
||||
session = createSession(domain,port,useTor)
|
||||
session=createSession(domain,port,useTor)
|
||||
if nickname!='inbox':
|
||||
nickname=domain
|
||||
wfRequest = webfingerHandle(session,nickname+'@'+domain,httpPrefix,wfCache, \
|
||||
domain,__version__)
|
||||
|
||||
wfRequest=webfingerHandle(session,nickname+'@'+domain,httpPrefix,wfCache, \
|
||||
domain,__version__)
|
||||
if not wfRequest:
|
||||
print('Unable to webfinger '+nickname+'@'+domain)
|
||||
sys.exit()
|
||||
|
|
4
posts.py
4
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','/'+toDomainOriginal)
|
||||
inboxUrl=sharedInbox.replace('/inbox','/users/'+toDomainOriginal)
|
||||
|
||||
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','/'+toDomainOriginal)
|
||||
inboxUrl=sharedInboxUrl.replace('/inbox','/users/'+toDomainOriginal)
|
||||
|
||||
if not inboxUrl:
|
||||
if debug:
|
||||
|
|
Loading…
Reference in New Issue