diff --git a/files/classes/comment.py b/files/classes/comment.py index 9e39551289..4ea11d8d12 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -362,6 +362,8 @@ class Comment(Base): if self.is_banned: return True + if self.author.shadowbanned and not v.shadowbanned: return True + if (self.wordle_result) and (not self.body or len(self.body_html) <= 100) and 9 > self.level > 1: return True if v and v.filter_words and self.body and any(x in self.body for x in v.filter_words): return True diff --git a/files/routes/notifications.py b/files/routes/notifications.py index 8cc6c516d5..09cdd03246 100644 --- a/files/routes/notifications.py +++ b/files/routes/notifications.py @@ -270,8 +270,12 @@ def notifications(v): Comment.body_html.notlike('%

New site mention%