forked from rDrama/rDrama
fdfd
parent
4d1edbd0e4
commit
c6f54cd1b4
|
@ -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 == []]
|
||||
|
||||
|
|
Loading…
Reference in New Issue