From f3a3729f14962bd4efadef1a313a85f6cbc013cf Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 4 Apr 2022 01:29:07 +0200 Subject: [PATCH] gf --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index db7b07ccf..4954bedf4 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -127,9 +127,9 @@ def notifications(v): 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 c.child_comments if c.author_id == v.id or x.id in all] cids = cids | set(x.id for x in c.replies2) - c = c.parent_comment cids.add(c.id) else: while c.parent_comment: