This commit is contained in:
Aevann1 2021-09-09 16:13:15 +02:00
parent d0a41c9d7d
commit 549f28fb83
7 changed files with 23 additions and 23 deletions

View file

@ -117,8 +117,8 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
comment = c[0]
if comment.author and comment.author.shadowbanned and not (v and v.id == comment.author_id): continue
comment.voted = c[1] or 0
comment._is_blocking = c[2] or 0
comment._is_blocked = c[3] or 0
comment.is_blocking = c[2] or 0
comment.is_blocked = c[3] or 0
if request.headers.get("Authorization"): return top_comment.json
else: return post.rendered_page(v=v, sort=sort, comment=top_comment, comment_info=comment_info)