forked from indymedia/epicyon
Extra prints
parent
0dc5d7bf6a
commit
da242f5c91
|
@ -45,6 +45,7 @@ def manualApproveFollowRequest(session,baseDir: str, \
|
||||||
projectVersion: str) -> None:
|
projectVersion: str) -> None:
|
||||||
"""Manually approve a follow request
|
"""Manually approve a follow request
|
||||||
"""
|
"""
|
||||||
|
print('Manually approving follow request from '+approveHandle)
|
||||||
handle=nickname+'@'+domain
|
handle=nickname+'@'+domain
|
||||||
accountsDir=baseDir+'/accounts/'+handle
|
accountsDir=baseDir+'/accounts/'+handle
|
||||||
approveFollowsFilename=accountsDir+'/followrequests.txt'
|
approveFollowsFilename=accountsDir+'/followrequests.txt'
|
||||||
|
@ -77,6 +78,7 @@ def manualApproveFollowRequest(session,baseDir: str, \
|
||||||
if ':' in approveDomain:
|
if ':' in approveDomain:
|
||||||
approvePort=approveDomain.split(':')[1]
|
approvePort=approveDomain.split(':')[1]
|
||||||
approveDomain=approveDomain.split(':')[0]
|
approveDomain=approveDomain.split(':')[0]
|
||||||
|
print('Sending Accept for '+handle+' follow request from '+approveHandle)
|
||||||
followedAccountAccepts(session,baseDir,httpPrefix, \
|
followedAccountAccepts(session,baseDir,httpPrefix, \
|
||||||
nickname,domain,port, \
|
nickname,domain,port, \
|
||||||
approveNickname,approveDomain,approvePort, \
|
approveNickname,approveDomain,approvePort, \
|
||||||
|
|
Loading…
Reference in New Issue