master
Aevann1 2022-03-01 02:12:39 +02:00
parent c22f4e4e95
commit 5ccc850521
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ def notifications(v):
x.read = True
c.unread = True
g.db.add(x)
if not c.created_utc: c.notif_utc = x.notif_utc
if not c.created_utc: c.notif_utc = x.created_utc
listing.append(c)
g.db.commit()
@ -85,7 +85,7 @@ def notifications(v):
try: c = comments[i]
except: continue
if not x.read: c.unread = True
if not c.created_utc: c.notif_utc = x.notif_utc
if not c.created_utc: c.notif_utc = x.created_utc
x.read = True
g.db.add(x)
i += 1