forked from rDrama/rDrama
fdsfds
parent
ee98f085f7
commit
59b0e3b9c6
|
@ -34,7 +34,7 @@ def notifications(v):
|
||||||
|
|
||||||
for index, x in enumerate(notifications[:100]):
|
for index, x in enumerate(notifications[:100]):
|
||||||
c = x.comment
|
c = x.comment
|
||||||
if x.read and index > 25: break
|
if x.read and index > 24: break
|
||||||
elif not x.read:
|
elif not x.read:
|
||||||
x.read = True
|
x.read = True
|
||||||
c.unread = True
|
c.unread = True
|
||||||
|
@ -52,7 +52,7 @@ def notifications(v):
|
||||||
|
|
||||||
for index, x in enumerate(notifications[:100]):
|
for index, x in enumerate(notifications[:100]):
|
||||||
c = x.comment
|
c = x.comment
|
||||||
if x.read and index > 25: break
|
if x.read and index > 24: break
|
||||||
elif not x.read:
|
elif not x.read:
|
||||||
x.read = True
|
x.read = True
|
||||||
g.db.add(x)
|
g.db.add(x)
|
||||||
|
|
Loading…
Reference in New Issue