This commit is contained in:
Aevann1 2022-02-01 02:03:39 +02:00
parent 8fe7a30642
commit f907260ab2
4 changed files with 6 additions and 6 deletions

View file

@ -765,7 +765,7 @@ def shadowban(user_id, v):
body_html = sanitize(body)
send_admin(NOTIFICATIONS_ID, body_html)
send_admin(NOTIFICATIONS_ID, body_html, v.id)
g.db.commit()
return {"message": "User shadowbanned!"}
@ -930,7 +930,7 @@ def ban_user(user_id, v):
body_html = sanitize(body)
send_admin(NOTIFICATIONS_ID, body_html)
send_admin(NOTIFICATIONS_ID, body_html, v.id)
g.db.commit()