forked from indymedia/epicyon
Tidy follow request
parent
bd970f2591
commit
f3065516ae
|
@ -283,15 +283,9 @@ def sendFollowRequest(baseDir: str,nickname: str,domain: str,port: int,httpPrefi
|
|||
newFollowJson = {
|
||||
'type': 'Follow',
|
||||
'actor': httpPrefix+'://'+domain+'/users/'+nickname,
|
||||
'object': followHttpPrefix+'://'+followDomain+'/users/'+followNickname,
|
||||
'to': [toUrl],
|
||||
'cc': []
|
||||
'object': followHttpPrefix+'://'+followDomain+'/users/'+followNickname
|
||||
}
|
||||
|
||||
if ccUrl:
|
||||
if len(ccUrl)>0:
|
||||
newFollowJson['cc']=ccUrl
|
||||
|
||||
sendSignedJson(newFollowJson,session,baseDir,nickname,domain,port, \
|
||||
nicknameToFollow,domainToFollow,toPort, '', \
|
||||
httpPrefix,saveToFile,clientToServer,federationList, \
|
||||
|
|
Loading…
Reference in New Issue