sdf
This commit is contained in:
parent
ce6e94e07a
commit
08b4773941
6 changed files with 10 additions and 7 deletions
|
@ -230,7 +230,7 @@ def api_comment(v):
|
|||
|
||||
if parent.author.any_block_exists(v) and v.admin_level < 2: return {"error": "You can't reply to users who have blocked you, or users you have blocked."}, 403
|
||||
|
||||
is_bot = request.headers.get("Authorization")
|
||||
is_bot = bool(request.headers.get("Authorization"))
|
||||
|
||||
if not is_bot and not v.marseyawarded and 'trans lives matters' not in body.lower():
|
||||
now = int(time.time())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue