master
Aevann1 2021-08-13 23:35:21 +02:00
parent 4e2bc61d12
commit 710391455c
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ def notifications(v):
c._is_blocked = False c._is_blocked = False
c._is_blocking = False c._is_blocking = False
if c.parent_submission and c.parent_comment and c.parent_comment.author_id == v.id: if c.parent_submission and c.parent_comment and c.parent_comment.author_id == v.id:
c.replies = [] #c.replies = []
while c.parent_comment and c.parent_comment.author_id == v.id: while c.parent_comment and c.parent_comment.author_id == v.id:
parent = c.parent_comment parent = c.parent_comment
if c not in parent.replies2: if c not in parent.replies2:
@ -52,7 +52,7 @@ def notifications(v):
listing.append(c) listing.append(c)
c.replies = c.replies2 c.replies = c.replies2
elif c.parent_submission: elif c.parent_submission:
c.replies = [] #c.replies = []
if c not in listing: if c not in listing:
listing.append(c) listing.append(c)
else: else: