Always permit local domain

master
Bob Mottram 2019-06-28 21:38:58 +01:00
parent a4b14770e0
commit b4a2fe24da
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ class PubServer(BaseHTTPRequestHandler):
if not message.get(testParam):
return False
actor=message[testParam]
# always allow the local domain
if thisDomain in actor:
return True
permittedDomain=False
for domain in federationList:
if domain in actor: