From a33bbc8fc2f54fecd5f4b88a157348c5d7721795 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 20 Jan 2023 06:35:23 +0200 Subject: [PATCH] >= 2 instead of >= 1 --- files/routes/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index 2aa3d9da7..ae4f2f34f 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -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 >= 1, + User.admin_level >= 2, ).all()] push_notif(admin_ids, title, notifbody, url)