forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-01 18:19:23 +02:00
parent 4d1edbd0e4
commit c6f54cd1b4
1 changed files with 1 additions and 1 deletions

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 == []]