From 390e58481972ee2468148aaa03477d08f592e35b Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 5 May 2023 04:41:13 +0300 Subject: [PATCH] decrease notif count from 50 to 30 --- 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 ba2ae081c..e7444656f 100644 --- a/files/routes/notifications.py +++ b/files/routes/notifications.py @@ -358,7 +358,7 @@ def notifications(v:User): if x.replies2 == None: x.replies2 = [] count = 0 - while count < 50 and c.parent_comment and (c.parent_comment.author_id == v.id or c.parent_comment.id in cids): + while count < 30 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