fix 500 error

master
Aevann1 2022-09-05 10:57:21 +02:00
parent 9bf2d75bce
commit 6d37838f45
1 changed files with 1 additions and 1 deletions

View File

@ -768,7 +768,7 @@ class User(Base):
@property
@lazy
def has_shadowbanned_alts(self):
for u in alts_unique:
for u in self.alts_unique:
if u.shadowbanned or u.is_suspended_permanently: return True
return False