Domain permissions

master
Bob Mottram 2019-07-12 21:56:26 +01:00
parent de5c637241
commit d8ed70f7d2
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ def domainPermitted(domain: str, federationList: []):
return False
def urlPermitted(url: str, federationList: [],capability: str):
if url.endswith('gab.com'):
return False
if len(federationList)==0:
return True
for domain in federationList: