exempt me from reddit notifs on wpd

master
Aevann 2023-10-04 13:38:23 +03:00
parent 8d539e6ff9
commit 33242e669c
1 changed files with 1 additions and 1 deletions

View File

@ -843,7 +843,7 @@ class User(Base):
@property @property
@lazy @lazy
def reddit_notifications_count(self): def reddit_notifications_count(self):
if not self.can_view_offsitementions: if not self.can_view_offsitementions or (SITE == "watchpeopledie.tv" and self.id == AEVANN_ID):
return 0 return 0
return g.db.query(Comment).filter( return g.db.query(Comment).filter(
Comment.created_utc > self.last_viewed_reddit_notifs, Comment.created_utc > self.last_viewed_reddit_notifs,