forked from rDrama/rDrama
read
parent
06e496bc8f
commit
1612c63c77
|
@ -60,8 +60,8 @@ def notifications(v):
|
||||||
elif not x.read:
|
elif not x.read:
|
||||||
x.read = True
|
x.read = True
|
||||||
c.unread = True
|
c.unread = True
|
||||||
if not c.created_utc: c.created_utc = x.created_utc
|
|
||||||
g.db.add(x)
|
g.db.add(x)
|
||||||
|
if not c.created_utc: c.created_utc = x.created_utc
|
||||||
listing.append(c)
|
listing.append(c)
|
||||||
|
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
|
|
Loading…
Reference in New Issue