make sure notifs are marked as read in the template

pull/195/head
Aevann 2023-08-20 06:06:46 +03:00
parent 96668282df
commit 2783b7361c
1 changed files with 2 additions and 0 deletions

View File

@ -410,6 +410,8 @@ def notifications(v):
all_cids = set(all_cids)
output = get_comments_v_properties(v, None, Comment.id.in_(all_cids))[1]
g.db.flush()
if v.client: return {"data":[x.json for x in listing]}
return render_template("notifications.html",