gf
This commit is contained in:
parent
8e24854157
commit
d32e212748
3 changed files with 8 additions and 7 deletions
|
@ -681,7 +681,8 @@ def agendaposter(user_id, v):
|
|||
if user.agendaposter: send_notification(NOTIFICATIONS_ACCOUNT, user, f"You have been marked by an admin as an agendaposter ({note}).")
|
||||
else: send_notification(NOTIFICATIONS_ACCOUNT, user, f"You have been unmarked by an admin as an agendaposter.")
|
||||
|
||||
return (redirect(user.url), user)
|
||||
if user.agendaposter: return (redirect(user.url), user)
|
||||
return {"message": "Agendaposter theme disabled!"}
|
||||
|
||||
@app.post("/shadowban/<user_id>")
|
||||
@admin_level_required(6)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue