forked from rDrama/rDrama
dont mark my own messages as unread
parent
d9be8548be
commit
fa26f516ee
|
@ -74,6 +74,7 @@ def notifications_modmail(v):
|
||||||
for c in listing:
|
for c in listing:
|
||||||
c_and_children = [c] + c.replies('old')
|
c_and_children = [c] + c.replies('old')
|
||||||
for c in c_and_children:
|
for c in c_and_children:
|
||||||
|
if c.author_id == v.id: continue
|
||||||
c.unread = c.created_utc > v.last_viewed_modmail_notifs
|
c.unread = c.created_utc > v.last_viewed_modmail_notifs
|
||||||
|
|
||||||
if not session.get("GLOBAL") and not request.values.get('nr'):
|
if not session.get("GLOBAL") and not request.values.get('nr'):
|
||||||
|
|
Loading…
Reference in New Issue