From e0bcc71727d3641f382de5b60bdb30661c7c5ece Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 1 Dec 2022 00:59:56 +0200 Subject: [PATCH] fix notifs --- files/classes/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index 8fc8a1b30..9518ccb70 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -633,7 +633,7 @@ class User(Base): if not self.can_see_shadowbanned: notifs = notifs.filter(User.shadowbanned == None) - return notifs.count() + self.post_notifications_count + self.modaction_notifications_count + return notifs.count() + self.post_notifications_count + self.modaction_notifications_count + self.reddit_notifications_count @property @lazy