New rdrama mention: 50)
- comments = comments[:50]
+ next_exists = (len(comments) > 25)
+ comments = comments[:25]
cids = set()
listing = []
for c in comments:
if c.parent_submission:
- c.replies2 = [x for x in all if x.parent_comment_id == c.id]
+ c.replies2 = [x for x in c.child_comments if c.author_id == v.id or x.id in all]
cids = cids | set(x.id for x in c.replies2)
while c.parent_comment and (c.parent_comment.author_id == v.id or c.parent_comment in comments):
c = c.parent_comment
- c.replies2 = [x for x in all if x.parent_comment_id == c.id]
+ c.replies2 = [x for x in c.child_comments if c.author_id == v.id or x.id in all]
cids = cids | set(x.id for x in c.replies2)
cids.add(c.id)
else: