hide titles on removed posts

master
Aevann 2024-11-11 21:05:54 +02:00
parent 7c8b9a0d0a
commit 629eacae72
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class Post(Base):
link = f"/post/{self.id}"
if self.hole: link = f"/h/{self.hole}{link}"
if self.hole and self.hole in {'chudrama', 'countryclub', 'highrollerclub'}:
if self.is_banned or self.hole and self.hole in {'chudrama', 'countryclub', 'highrollerclub'}:
output = '-'
else:
title = self.plaintitle(None).lower()