alts: don't count deleted alts

master
justcool393 2022-11-15 09:21:00 -06:00
parent 7ace77b2a7
commit 3df53c63c9
1 changed files with 1 additions and 1 deletions

View File

@ -746,7 +746,7 @@ class User(Base):
@property
@lazy
def alt_ids(self):
return [x.id for x in self.alts]
return [x.id for x in self.alts if not x._alt_deleted]
@property
@lazy