fix notifs

pull/34/head
Aevann1 2022-12-01 00:59:56 +02:00
parent 46e0dfb752
commit e0bcc71727
1 changed files with 1 additions and 1 deletions

View File

@ -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