From 33242e669ca57f625df0eb18fc95def309bc4d33 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 4 Oct 2023 13:38:23 +0300 Subject: [PATCH] exempt me from reddit notifs on wpd --- 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 4ab8c0644..bcb725e23 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -843,7 +843,7 @@ class User(Base): @property @lazy 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 g.db.query(Comment).filter( Comment.created_utc > self.last_viewed_reddit_notifs,