forked from rDrama/rDrama
fix irrelevant replies in notifs
parent
90c586a4fa
commit
6e3dd62a47
|
@ -359,7 +359,10 @@ def notifications(v:User):
|
||||||
listing2 = []
|
listing2 = []
|
||||||
for x in listing:
|
for x in listing:
|
||||||
if x.parent_comment_id:
|
if x.parent_comment_id:
|
||||||
listing2.append(x.parent_comment)
|
parent = x.parent_comment
|
||||||
|
if parent.replies2 == None:
|
||||||
|
parent.replies2 = [x]
|
||||||
|
listing2.append(parent)
|
||||||
else:
|
else:
|
||||||
listing2.append(x)
|
listing2.append(x)
|
||||||
listing = listing2
|
listing = listing2
|
||||||
|
|
Loading…
Reference in New Issue