master
Aevann1 2022-02-03 12:44:48 +02:00
parent 61eeaf38ea
commit 924b8a2a5e
1 changed files with 3 additions and 3 deletions

View File

@ -68,10 +68,10 @@ def notifications(v):
Comment.is_banned == False,
Comment.deleted_utc == 0,
Comment.author_id != AUTOJANNY_ID,
).order_by(Notification.id.desc()).offset(25 * (page - 1)).limit(26).all()
).order_by(Notification.id.desc()).offset(100 * (page - 1)).limit(101).all()
next_exists = (len(notifications) > 25)
notifications = notifications[:25]
next_exists = (len(notifications) > 100)
notifications = notifications[:100]
for x in notifications:
if x[0].read: break