This commit is contained in:
Aevann1 2021-09-12 04:59:52 +02:00
parent 8e24854157
commit d32e212748
3 changed files with 8 additions and 7 deletions

View file

@ -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)