diff --git a/follow.py b/follow.py index 3ccf48e3..e03ca102 100644 --- a/follow.py +++ b/follow.py @@ -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, \