collapse deleted comments for non-jannies

pull/143/head
Aevann 2023-04-27 19:04:14 +02:00
parent f9a14538e4
commit 66c21497a0
1 changed files with 2 additions and 0 deletions

View File

@ -385,6 +385,8 @@ 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