forked from rDrama/rDrama
fds
parent
1135096166
commit
36f7449365
|
@ -139,8 +139,6 @@ def notifications(v):
|
||||||
c.replies2 = c.child_comments.filter(or_(Comment.author_id == v.id, Comment.id.in_(cids))).all()
|
c.replies2 = c.child_comments.filter(or_(Comment.author_id == v.id, Comment.id.in_(cids))).all()
|
||||||
for x in c.replies2:
|
for x in c.replies2:
|
||||||
if x.replies2 == None: x.replies2 = []
|
if x.replies2 == None: x.replies2 = []
|
||||||
|
|
||||||
cids.add(c.id)
|
|
||||||
else:
|
else:
|
||||||
while c.parent_comment:
|
while c.parent_comment:
|
||||||
c = c.parent_comment
|
c = c.parent_comment
|
||||||
|
|
Loading…
Reference in New Issue