forked from rDrama/rDrama
exempt me from modmail notifs
parent
d7fa7982c7
commit
4363f5d3a4
|
@ -788,6 +788,10 @@ class User(Base):
|
||||||
def modmail_notifications_count(self):
|
def modmail_notifications_count(self):
|
||||||
if self.admin_level < PERMS['NOTIFICATIONS_MODMAIL']:
|
if self.admin_level < PERMS['NOTIFICATIONS_MODMAIL']:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
if self.id == AEVANN_ID and SITE == 'watchpeopledie.tv':
|
||||||
|
return 0
|
||||||
|
|
||||||
return g.db.query(Comment).distinct(Comment.top_comment_id).filter(
|
return g.db.query(Comment).distinct(Comment.top_comment_id).filter(
|
||||||
Comment.author_id != self.id,
|
Comment.author_id != self.id,
|
||||||
Comment.sentto == MODMAIL_ID,
|
Comment.sentto == MODMAIL_ID,
|
||||||
|
|
Loading…
Reference in New Issue