This commit is contained in:
Aevann1 2022-02-08 22:05:06 +02:00
parent ea14471cc3
commit ce85d7df3e
13 changed files with 25 additions and 17 deletions

View file

@ -336,7 +336,7 @@ class Comment(Base):
def realbody(self, v):
if self.post and self.post.club and not (v and (v.paid_dues or v.id in [self.author_id, self.post.author_id])): return f"<p>{CC} ONLY</p>"
body = self.body_html
body = self.body_html or ""
if body:
body = censor_slurs(body, v)