first
This commit is contained in:
parent
8e3e7e1d3d
commit
be13e954bd
6 changed files with 6 additions and 6 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue