From 08ed7b044bf6b1692932ac8624d7d4d5ac0c4498 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 29 Apr 2022 16:47:34 +0200 Subject: [PATCH] fds --- 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 ab3f5587ab..40c19de8c0 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -747,7 +747,7 @@ def messagereply(v): if c.top_comment.sentto == 2: - ids = [x.id for x in c.top_comment.replies] + c.top_comment.id + ids = [x.id for x in c.top_comment.replies] + [c.top_comment.id] notifications = g.db.query(Notification).filter(Notification.comment_id.in_(ids)) for n in notifications: g.db.delete(n)