Test for follow request

master
Bob Mottram 2019-07-06 14:52:26 +01:00
parent ef3a951452
commit e760cb8f4f
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ def receiveFollowRequest(session,baseDir: str,httpPrefix: str,port: int,sendThre
return False return False
# send accept back # send accept back
if debug: if debug:
print('DEBUG: sending Accept from '+nickname+'@'+domain+' for follow request') print('DEBUG: sending Accept for follow request from '+nickname+'@'+domain+' back to '+nicknameToFollow+'@'+domainToFollow)
personUrl=messageJson['actor'] personUrl=messageJson['actor']
acceptJson=createAccept(baseDir,federationList,capsList,nickname,domain,port, \ acceptJson=createAccept(baseDir,federationList,capsList,nickname,domain,port, \
personUrl,'',httpPrefix,messageJson['object']) personUrl,'',httpPrefix,messageJson['object'])