forked from rDrama/rDrama
1
0
Fork 0

dont mark my own messages as unread

master
Aevann 2024-02-01 17:57:16 +02:00
parent d9be8548be
commit fa26f516ee
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ def notifications_modmail(v):
for c in listing:
c_and_children = [c] + c.replies('old')
for c in c_and_children:
if c.author_id == v.id: continue
c.unread = c.created_utc > v.last_viewed_modmail_notifs
if not session.get("GLOBAL") and not request.values.get('nr'):