This commit is contained in:
Aevann1 2021-08-03 19:33:13 +02:00
parent 3d2698724a
commit f86ca388e8
3 changed files with 4 additions and 4 deletions

View file

@ -775,7 +775,7 @@ def submit_post(v):
private=bool(request.form.get("private","")),
author_id=v.id,
over_18=bool(request.form.get("over_18","")),
# app_id=v.client.application.id if v.client else None,
app_id=v.client.application.id if v.client else None,
is_bot = request.headers.get("X-User-Type","").lower()=="bot"
)