remove my special case so i can test

pull/34/head
Aevann1 2022-12-01 00:44:16 +02:00
parent 7f4691c79d
commit cbd04b3c38
1 changed files with 1 additions and 1 deletions

View File

@ -702,7 +702,7 @@ class User(Base):
@property
@lazy
def reddit_notifications_count(self):
if not self.can_view_offsitementions or self.id == AEVANN_ID: return 0
if not self.can_view_offsitementions: return 0
return g.db.query(Comment).filter(
Comment.created_utc > self.last_viewed_reddit_notifs,
Comment.is_banned == False, Comment.deleted_utc == 0,