master
Aevann1 2022-07-04 05:50:01 +02:00
parent 037d41f5d5
commit 3356504b78
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class Comment(Base):
elif not self.parent_submission: elif not self.parent_submission:
replies = g.db.query(Comment).filter_by(parent_comment_id=self.id).order_by(Comment.id).all() replies = g.db.query(Comment).filter_by(parent_comment_id=self.id).order_by(Comment.id).all()
else: else:
return self.child_comments replies = self.child_comments
return [x for x in replies if not x.author.shadowbanned] return [x for x in replies if not x.author.shadowbanned]