fdfd
This commit is contained in:
parent
3d2698724a
commit
f86ca388e8
3 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue