Workaround

merge-requests/6/head
Bob Mottram 2019-12-16 00:10:24 +00:00
parent ad5f316195
commit daa2000b8d
1 changed files with 10 additions and 8 deletions

View File

@ -50,14 +50,16 @@ def manualDenyFollowRequest(session,baseDir: str, \
if ':' in denyDomain:
denyPort=denyDomain.split(':')[1]
denyDomain=denyDomain.split(':')[0]
followedAccountRejects(session,baseDir,httpPrefix, \
nickname,domain,port, \
denyNickname,denyDomain,denyPort, \
followJson['actor'],federationList, \
followJson, \
sendThreads,postLog, \
cachedWebfingers,personCache, \
debug,projectVersion)
# TODO
#followJson=
#followedAccountRejects(session,baseDir,httpPrefix, \
# nickname,domain,port, \
# denyNickname,denyDomain,denyPort, \
# followJson['actor'],federationList, \
# followJson, \
# sendThreads,postLog, \
# cachedWebfingers,personCache, \
# debug,projectVersion)
print('Follow request from '+denyHandle+' was denied.')