forked from rDrama/rDrama
1
0
Fork 0

exclude me from offsitementions

master
Aevann1 2022-11-16 10:34:48 +02:00
parent 93fdc3212e
commit 07a76e0ffd
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ class User(Base):
@property
@lazy
def can_view_offsitementions(self):
return self.offsitementions or self.admin_level >= PERMS['NOTIFICATIONS_REDDIT']
return self.offsitementions or (self.admin_level >= PERMS['NOTIFICATIONS_REDDIT'] and self.id != AEVANN_ID)
@property
@lazy