diff --git a/files/routes/front.py b/files/routes/front.py index 46e8b6ef9c..c4d725c81e 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -89,12 +89,19 @@ def notifications(v): next_exists = (len(notifications) > len(listing)) else: - notifications = v.notifications.join(Notification.comment).filter( + all = set([x.comment_id for x in v.notifications.join(Notification.comment).filter( Comment.is_banned == False, Comment.deleted_utc == 0, Comment.author_id != AUTOJANNY_ID, Comment.body_html.notlike('