forked from rDrama/rDrama
1
0
Fork 0

hide smuggies for now until I add opt-in system

master
Aevann1 2022-08-15 17:17:58 +02:00
parent cba1d5bce5
commit bac6e31be8
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class User(Base):
@property
@lazy
def all_blocks(self):
return [x[0] for x in g.db.query(SubBlock.sub).filter_by(user_id=self.id).all()]
return ['smuggies'] + [x[0] for x in g.db.query(SubBlock.sub).filter_by(user_id=self.id).all()]
@lazy
def blocks(self, sub):