This commit is contained in:
Aevann1 2021-09-01 18:19:23 +02:00
parent 70327f3eb1
commit d8c14fb713

View file

@ -355,7 +355,7 @@ class User(Base, Stndrd, Age_times):
def notification_modmail(self, page=1):
comments = g.db.query(Comment).filter(Comment.sentto==0).filter(Comment.parent_submission == None).order_by(Comment.created_utc.desc()).limit(100).all()
comments = g.db.query(Comment).filter(Comment.sentto==0).filter(Comment.parent_submission == None).order_by(Comment.created_utc.desc()).all()
comments = [c.id for c in comments if c.child_comments == []]