resolve merge conflict take 2 ?
This commit is contained in:
parent
78e3130bc7
commit
0b122b0d32
1 changed files with 0 additions and 5 deletions
|
@ -335,11 +335,6 @@ async def inbox(request):
|
|||
logging.info('Actor not in data or request not validated')
|
||||
raise aiohttp.web.HTTPUnauthorized(body='access denied', content_type='text/plain')
|
||||
|
||||
elif instance in AP_CONFIG['blocked_instances']:
|
||||
INBOUND_STATS['rejected']+=1
|
||||
logging.info('Blocked instance')
|
||||
raise aiohttp.web.HTTPUnauthorized(body='access denied', content_type='text/plain')
|
||||
|
||||
elif data['type'] != 'Follow' and 'https://{}/inbox'.format(instance) not in DATABASE['relay-list']:
|
||||
logging.info('Datatype not follow or instance not in relay-list: %r',instance)
|
||||
if data['type'] not in ['Announce','Delete']:
|
||||
|
|
Loading…
Reference in a new issue