From 97476a604ea4cd916d9b9842f85a38d4c6cf6490 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 24 Dec 2022 00:30:03 +0200 Subject: [PATCH] actually fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3295805 --- files/routes/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/notifications.py b/files/routes/notifications.py index 1dead6928..81440c7ca 100644 --- a/files/routes/notifications.py +++ b/files/routes/notifications.py @@ -305,7 +305,7 @@ def notifications(v:User): c.unread = True g.db.add(n) - if c.parent_submission: + if c.parent_submission or c.wall_user_id: if c.replies2 == None: c.replies2 = g.db.query(Comment).filter_by(parent_comment_id=c.id).filter(or_(Comment.author_id == v.id, Comment.id.in_(cids))).order_by(Comment.id.desc()).all() total.extend(c.replies2)