fsd
This commit is contained in:
parent
2d900867a1
commit
1f61b6b704
1 changed files with 0 additions and 2 deletions
|
@ -141,8 +141,6 @@ def notifications(v):
|
||||||
if c.replies2 == None:
|
if c.replies2 == None:
|
||||||
c.replies2 = c.child_comments.filter(or_(Comment.author_id == v.id, Comment.id.in_(all))).all()
|
c.replies2 = c.child_comments.filter(or_(Comment.author_id == v.id, Comment.id.in_(all))).all()
|
||||||
cids.update(x.id for x in c.replies2)
|
cids.update(x.id for x in c.replies2)
|
||||||
for x in c.replies2:
|
|
||||||
c.replies2 = []
|
|
||||||
cids.add(c.id)
|
cids.add(c.id)
|
||||||
else:
|
else:
|
||||||
while c.parent_comment:
|
while c.parent_comment:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue