This commit is contained in:
Aevann1 2022-03-31 17:14:19 +02:00
parent 2c6ab797f9
commit 873bbe62ef
3 changed files with 2 additions and 2 deletions

View file

@ -1063,7 +1063,7 @@ def submit_post(v, sub=None):
over_18=bool(request.values.get("over_18","")),
new=bool(request.values.get("new","")),
app_id=v.client.application.id if v.client else None,
is_bot = request.headers.get("Authorization"),
is_bot = bool(request.headers.get("Authorization")) or v.id == SNAPPY_ID,
url=url,
body=body[:20000],
body_html=body_html,