decrease notif count from 50 to 30

pull/146/head
Aevann 2023-05-05 04:41:13 +03:00
parent 7a4c2a1091
commit 390e584819
1 changed files with 1 additions and 1 deletions

View File

@ -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