From 703996c1925f90384783d239432812a70f02f390 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 27 Apr 2023 19:15:12 +0200 Subject: [PATCH] same as last commit, but actually works lol --- files/classes/comment.py | 2 -- files/templates/comments.html | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 4c319d9961..ceafaffd5a 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -385,8 +385,6 @@ class Comment(Base): if self.is_banned: return True - if self.deleted_utc and not (v and v.admin_level): return True - if self.author.shadowbanned: return True if (self.wordle_result) and (not self.body or len(self.body_html) <= 100) and 9 > self.level > 1: return True diff --git a/files/templates/comments.html b/files/templates/comments.html index 59847a2eb0..4ac8fe0f75 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -25,7 +25,7 @@ {% if c.is_blocking and not c.ghost or (c.is_banned or c.deleted_utc) and not (v and v.admin_level >= PERMS['POST_COMMENT_MODERATION']) and not (v and v.id==c.author_id) %} -
+