forked from MarseyWorld/MarseyWorld
fix 500 error
parent
9bf2d75bce
commit
6d37838f45
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue