From 3af80e37e9e31c371b4cf59f0ea8642740660667 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 6 Apr 2022 23:53:14 +0200 Subject: [PATCH] fsd --- files/classes/user.py | 5 +++++ files/templates/notifications.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index dbecccfe6..059cb0378 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -435,6 +435,11 @@ class User(Base): def reddit_notifications_count(self): return g.db.query(Notification.user_id).join(Comment).filter(Notification.user_id == self.id, Notification.read == False, Comment.is_banned == False, Comment.deleted_utc == 0, Comment.body_html.like('

New rdrama mention: