This commit is contained in:
Aevann1 2022-02-21 03:35:01 +02:00
parent 2e471bd662
commit bc0909e8dc
7 changed files with 14 additions and 14 deletions

View file

@ -590,7 +590,7 @@ def messagereply(v):
except: pass
if new_comment.top_comment.sentto == 0:
if new_comment.top_comment.sentto == 2:
admins = g.db.query(User).filter(User.admin_level > 2, User.id != v.id, User.id != user_id).all()
for admin in admins:
notif = Notification(comment_id=new_comment.id, user_id=admin.id)