remotes/1693045480750635534/spooky-22
Aevann1 2022-04-04 01:37:22 +02:00
parent 89cb8aa4a1
commit 35fc963970
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def notifications(v):
Comment.deleted_utc == 0,
Comment.author_id != AUTOJANNY_ID,
Comment.body_html.notlike('<html><body><p>New rdrama mention: <a href="https://old.reddit.com/r/%')
).order_by(Comment.top_comment_id.desc()).offset(50 * (page - 1)).limit(100).all())
).order_by(Comment.top_comment_id.desc()).limit(50 + 50*page).all())
comments = g.db.query(Comment).join(Notification).distinct(Comment.top_comment_id).filter(
Notification.user_id == v.id,