forked from MarseyWorld/MarseyWorld
alts: don't count deleted alts
parent
7ace77b2a7
commit
3df53c63c9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue