From 9bdceec9a9680243d304fa0d4ed3ce5ccf2cfc0c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 16 Nov 2021 05:42:13 +0200 Subject: [PATCH] fdsfds --- files/routes/front.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index c10bf2ea34..2f8e859796 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -356,9 +356,6 @@ def comment_idlist(page=1, v=None, nsfw=False, sort="new", t="all"): comments = g.db.query(Comment.id).filter(Comment.parent_submission.notin_(cc_idlist)) - if not (v and v.shadowbanned): - comments = comments.join(User, User.id == Comment.author_id).filter(User.shadowbanned == None) - if v and v.admin_level <= 3: blocking = [x[0] for x in g.db.query( UserBlock.target_id).filter_by(