master
Aevann1 2022-04-04 02:18:37 +02:00
parent 222d9c5cb4
commit 305368681d
1 changed files with 0 additions and 3 deletions

View File

@ -134,9 +134,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:
x.replies2 = x.child_comments.filter(or_(Comment.author_id == v.id, Comment.id.in_(all))).all()
cids.update(y.id for y in x.replies2)
while c.parent_comment and (c.parent_comment.author_id == v.id or c.parent_comment.id in all):
c = c.parent_comment
if c.replies2 == None: