diff --git a/files/routes/front.py b/files/routes/front.py index b2c1ba2eb7..76e23079cf 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -40,8 +40,6 @@ def notifications(v): elif not x.read: c.unread = True notifs.append({'id': x.id, 'read': True}) - x.read = True - g.db.add(x) comments.append(c) g.db.bulk_update_mappings(User, notifs)