decrease notif count from 50 to 30
parent
7a4c2a1091
commit
390e584819
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue