From 30833f8130f257b3b795a638a70461bb3ade02d8 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 10 Apr 2022 01:12:59 +0200 Subject: [PATCH] fsd --- files/classes/user.py | 2 +- files/routes/front.py | 8 ++++---- files/routes/posts.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 11ff557235..fe81b8898e 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -433,7 +433,7 @@ class User(Base): @property @lazy 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: len(listing)) elif reddit: - notifications = g.db.query(Notification, Comment).join(Comment, Notification.comment_id == Comment.id).filter(Notification.user_id == v.id, Comment.body_html.like('

New rdrama mention:

New rdrama mention:

New rdrama mention:

New rdrama mention: