From 94bf22e52970f21403e5229bcbbc4de2e7c211e8 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 16 Sep 2021 19:39:38 +0200 Subject: [PATCH] fd --- files/routes/front.py | 2 -- 1 file changed, 2 deletions(-) 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)