master
Aevann1 2021-11-07 15:58:32 +02:00
parent ee98f085f7
commit 59b0e3b9c6
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ def notifications(v):
for index, x in enumerate(notifications[:100]):
c = x.comment
if x.read and index > 25: break
if x.read and index > 24: break
elif not x.read:
x.read = True
c.unread = True
@ -52,7 +52,7 @@ def notifications(v):
for index, x in enumerate(notifications[:100]):
c = x.comment
if x.read and index > 25: break
if x.read and index > 24: break
elif not x.read:
x.read = True
g.db.add(x)