This commit is contained in:
Aevann1 2021-10-26 23:10:31 +02:00
parent 8e3e7e1d3d
commit be13e954bd
6 changed files with 6 additions and 6 deletions

View file

@ -201,7 +201,7 @@ def api_comment(v):
if parent.author.any_block_exists(v) and not v.admin_level>=3: return {"error": "You can't reply to users who have blocked you, or users you have blocked."}, 403
is_bot = request.headers.get("X-User-Type","")=="Bot"
is_bot = request.headers.get("Authorization")
if not is_bot and 'trans lives matters' not in body.lower():
now = int(time.time())