From aa6a4623a7e02c5acb4b7a9c61c376aa3ef62c79 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 21 Feb 2022 02:16:20 +0200 Subject: [PATCH] gh --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index 717622c0d..a4fa5f62d 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -556,7 +556,7 @@ def messagereply(v): g.db.add(new_comment) g.db.flush() - if user_id != v.id and user_id != 9: + if user_id != v.id and user_id != 0: notif = Notification(comment_id=new_comment.id, user_id=user_id) g.db.add(notif)