remotes/1693045480750635534/spooky-22
Aevann1 2022-02-06 01:04:17 +02:00
parent fe52bd8f26
commit b42faf2cd9
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ def comment_idlist(page=1, v=None, nsfw=False, sort="new", t="all"):
cc_idlist = [x[0] for x in g.db.query(Submission.id).filter(Submission.club == True).all()]
comments = g.db.query(Comment.id).filter(Comment.parent_submission.notin_(cc_idlist))
comments = g.db.query(Comment.id).filter(Comment.parent_submission != None, Comment.parent_submission.notin_(cc_idlist))
if v and v.admin_level <= 3:
blocking = [x[0] for x in g.db.query(