forked from rDrama/rDrama
1
0
Fork 0

same as last commit, but actually works lol

master
Aevann 2023-04-27 19:15:12 +02:00
parent 66c21497a0
commit 703996c192
2 changed files with 1 additions and 3 deletions

View File

@ -385,8 +385,6 @@ class Comment(Base):
if self.is_banned: return True
if self.deleted_utc and not (v and v.admin_level): return True
if self.author.shadowbanned: return True
if (self.wordle_result) and (not self.body or len(self.body_html) <= 100) and 9 > self.level > 1: return True

View File

@ -25,7 +25,7 @@
{% if c.is_blocking and not c.ghost or (c.is_banned or c.deleted_utc) and not (v and v.admin_level >= PERMS['POST_COMMENT_MODERATION']) and not (v and v.id==c.author_id) %}
<div id="comment-{{c.id}}" class="comment">
<div id="comment-{{c.id}}" class="comment {% if not (v and v.id == author_id) and not (v and v.admin_level) %}collapsed{% endif %}">
<span class="comment-collapse-desktop" style="border-left: 2px solid #{{c.author.name_color}}" data-nonce="{{g.nonce}}" data-onclick="collapse_comment('{{c.id}}')"></span>
<div class="comment-body">