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: if ':' in denyDomain:
denyPort=denyDomain.split(':')[1] denyPort=denyDomain.split(':')[1]
denyDomain=denyDomain.split(':')[0] denyDomain=denyDomain.split(':')[0]
followedAccountRejects(session,baseDir,httpPrefix, \ # TODO
nickname,domain,port, \ #followJson=
denyNickname,denyDomain,denyPort, \ #followedAccountRejects(session,baseDir,httpPrefix, \
followJson['actor'],federationList, \ # nickname,domain,port, \
followJson, \ # denyNickname,denyDomain,denyPort, \
sendThreads,postLog, \ # followJson['actor'],federationList, \
cachedWebfingers,personCache, \ # followJson, \
debug,projectVersion) # sendThreads,postLog, \
# cachedWebfingers,personCache, \
# debug,projectVersion)
print('Follow request from '+denyHandle+' was denied.') print('Follow request from '+denyHandle+' was denied.')