fix leak of admin chat

master
Aevann 2023-01-20 06:34:32 +02:00
parent df3cfb193a
commit 2511054947
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def speak(data, v):
admin_ids = [x[0] for x in g.db.query(User.id).filter(
User.id != v.id,
User.admin_level >= PERMS['CHAT'],
User.admin_level >= 1,
).all()]
push_notif(admin_ids, title, notifbody, url)