mirror of https://gitlab.com/bashrc2/epicyon
Another block
parent
da58015e20
commit
385a0ee31d
3
posts.py
3
posts.py
|
@ -1351,8 +1351,7 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \
|
|||
|
||||
if wfRequest.get('errors'):
|
||||
if debug:
|
||||
print('DEBUG: webfinger for '+handle+' failed with errors '+str(wfRequest['errors']))
|
||||
return 1
|
||||
print('DEBUG: webfinger for '+handle+' failed with errors '+str(wfRequest['errors']))
|
||||
|
||||
if not clientToServer:
|
||||
postToBox='inbox'
|
||||
|
|
2
utils.py
2
utils.py
|
@ -29,7 +29,7 @@ def getStatusNumber() -> (str,str):
|
|||
|
||||
def isEvil(domain: str) -> bool:
|
||||
# https://www.youtube.com/watch?v=5qw1hcevmdU
|
||||
evilDomains=['gab.com','gabfed.com','spinster.xyz','djitter.com']
|
||||
evilDomains=['gab.com','gabfed.com','spinster.xyz','kiwifarms.cc','djitter.com']
|
||||
for concentratedEvil in evilDomains:
|
||||
if domain.endswith(concentratedEvil):
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue