reduce max notification depth from 50 to 10

master
Aevann1 2022-08-15 20:10:45 +02:00
parent 8e48728614
commit 16626ceb4f
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ def notifications(v):
for x in c.replies2:
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 < 10 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: