forked from MarseyWorld/MarseyWorld
fsd
parent
f8f3b02418
commit
6299b891f4
|
@ -141,8 +141,6 @@ def notifications(v):
|
|||
if c.replies2 == None:
|
||||
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)
|
||||
for x in c.replies2:
|
||||
c.replies2 = []
|
||||
cids.add(c.id)
|
||||
else:
|
||||
while c.parent_comment:
|
||||
|
|
Loading…
Reference in New Issue