forked from indymedia/epicyon
Test for follow request
parent
ef3a951452
commit
e760cb8f4f
|
@ -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'])
|
||||||
|
|
Loading…
Reference in New Issue