From 4e7510ef643b671bf55cf6a9e8d2f0c1585089bc Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 5 Oct 2022 23:11:52 +0200 Subject: [PATCH] increase notif count from 10 to 50 --- files/routes/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/notifications.py b/files/routes/notifications.py index 2b333ab4a..e483508ac 100644 --- a/files/routes/notifications.py +++ b/files/routes/notifications.py @@ -284,7 +284,7 @@ def notifications(v): for x in c.replies2: if x.replies2 == None: x.replies2 = [] count = 0 - while count < 10 and c.parent_comment and (c.parent_comment.author_id == v.id or c.parent_comment.id in cids): + while count < 50 and c.parent_comment and (c.parent_comment.author_id == v.id or c.parent_comment.id in cids): count += 1 c = c.parent_comment if c.replies2 == None: