From 9026ff46e4b62f031f5c65e889ac96312b33de2e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 31 Jan 2022 05:37:18 +0200 Subject: [PATCH] fg --- 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 ea345c35c..12eb8e99d 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -102,7 +102,7 @@ def notifications(v): replies.append(x) all.add(x.id) c.replies = replies - while c.parent_comment and c.parent_comment.author_id == v.id: + while c.parent_comment and (c.parent_comment.author_id == v.id or c.parent_comment in comments): parent = c.parent_comment if c not in parent.replies2: parent.replies2 = parent.replies2 + [c]