From 840fced68e09ec6a53b3eaf637c0b82da8c5134b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 18 Feb 2022 15:13:23 +0200 Subject: [PATCH] xcv --- files/routes/posts.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 206ed4e5c..8420dbec9 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1333,11 +1333,6 @@ def submit_post(v, sub=None): snappy.comment_count += 1 snappy.coins += 1 g.db.add(snappy) - - if not v.is_blocking(snappy): - g.db.flush() - n = Notification(comment_id=c.id, user_id=v.id) - g.db.add(n) if body.startswith('!slots1000'): check_for_slots_command(body, snappy, c)