protect longposts from author-bitten

pull/225/head
Aevann 2024-03-15 19:12:50 +02:00
parent 96a9591119
commit ba0e3c74ed
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def get_award_classes(obj, v, title=False):
if not title: classes.append(f"chud-img chud-{obj.id_last_num}")
if not (v and v.poor):
if obj.author.bite:
if not obj.is_longpost and obj.author.bite:
classes.append('author-bitten')
if obj.award_count('glowie', v):
classes.append("glow")