forked from MarseyWorld/MarseyWorld
fix leak of admin chat
parent
df3cfb193a
commit
2511054947
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue