hide header

master
Aevann 2024-05-16 23:44:03 +03:00
parent b1b9bd149c
commit a142c5535a
1 changed files with 3 additions and 0 deletions

View File

@ -282,6 +282,8 @@ def api(v):
@auth_desired
def contact(v):
listing, total, page = modmail_listing(v)
err = v and v.is_suspended and 'underage' in v.ban_reason.lower()
print(err, flush=True)
return render_template("contact.html",
v=v,
listing=listing,
@ -289,6 +291,7 @@ def contact(v):
page=page,
standalone=True,
render_replies=True,
err=err,
)
@app.post("/contact")