diff --git a/files/routes/notifications.py b/files/routes/notifications.py index 6cd1ed469..3730e97df 100644 --- a/files/routes/notifications.py +++ b/files/routes/notifications.py @@ -332,7 +332,7 @@ def notifications(v): comments = g.db.query(Comment, Notification).options(load_only(Comment.id)).join(Notification.comment).filter( Notification.user_id == v.id, - or_(Comment.sentto == None, Comment.sentto != v.id), + or_(Comment.sentto == None, Comment.sentto == MODMAIL_ID), ) if v.admin_level < PERMS['USER_SHADOWBAN']: