extend underpage page to shadowbans

master
Aevann 2024-05-17 17:11:54 +03:00
parent 1bb9c25aa3
commit 07fa533657
1 changed files with 1 additions and 1 deletions

View File

@ -1153,7 +1153,7 @@ class User(Base):
@property
@lazy
def is_underage(self):
return self.is_suspended and 'underage' in self.ban_reason.lower()
return 'underage' in self.ban_reason.lower() or 'underage' in self.shadowban_reason.lower()
@property
@lazy