fdsfds
This commit is contained in:
parent
c3930d4054
commit
42f70bc64e
12 changed files with 120 additions and 75 deletions
|
@ -231,7 +231,7 @@ def get_comments(cids, v=None, load_parent=False):
|
|||
blocked.c.target_id,
|
||||
).filter(Comment.id.in_(cids))
|
||||
|
||||
if not (v and (v.shadowbanned or v.admin_level > 1)):
|
||||
if not (v and (v.shadowbanned or v.admin_level > 2)):
|
||||
comments = comments.join(User, User.id == Comment.author_id).filter(User.shadowbanned == None)
|
||||
|
||||
comments = comments.join(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue