remotes/1693045480750635534/spooky-22
Aevann1 2021-12-31 19:41:27 +02:00
parent 5ed3a75786
commit 720dcb80e5
1 changed files with 4 additions and 2 deletions

View File

@ -374,13 +374,15 @@ def morecomments(v, cid):
)
output = []
output2 = []
for c in comments.all():
comment = c[0]
comment.voted = c[1] or 0
comment.is_blocking = c[2] or 0
comment.is_blocked = c[3] or 0
if c[0].parent_comment_id == int(cid): output.append(comment)
comments = output
output.append(comment)
if c[0].parent_comment_id == int(cid): output2.append(comment)
comments = output2
else:
c = g.db.query(Comment).filter_by(id=cid).first()
comments = c.replies