diff --git a/files/classes/user.py b/files/classes/user.py index 86a8894b7..6434eddac 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -1137,7 +1137,7 @@ class User(Base): if SITE == 'watchpeopledie.tv' and other.id == 5: return False else: - if hasattr(other, 'is_blocking') and other.is_blocking: + if hasattr(other, 'is_blocking') and other.is_blocking and not request.path.endswith(f'/{other.id}'): return False if other.parent_post: return cls.can_see(user, other.post) diff --git a/files/templates/comments.html b/files/templates/comments.html index 6ad2a34a2..c70e1da36 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -23,7 +23,7 @@ {% set replies=c.replies(sort=sort) %} {% endif %} -{% 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) %} +{% if (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) %}
@@ -31,7 +31,7 @@
{% if render_replies %}