remotes/1693045480750635534/spooky-22
Aevann1 2022-01-06 03:25:04 +02:00
parent d2a6691c24
commit 3533dbb17b
1 changed files with 5 additions and 3 deletions

View File

@ -348,9 +348,10 @@ class Submission(Base):
def realbody(self, v):
if self.club and not (v and (v.paid_dues or v.id == self.author_id)): return f"<p>{cc} ONLY</p>"
if not body_html: return ""
body = self.body_html
if not body: return ""
body = censor_slurs(body, v)
if v:
@ -377,9 +378,10 @@ class Submission(Base):
def plainbody(self, v):
if self.club and not (v and (v.paid_dues or v.id == self.author_id)): return f"<p>{cc} ONLY</p>"
body = self.body
if not body: return ""
body = self.body
body = censor_slurs(body, v)
if v: