forked from rDrama/rDrama
always show parent comment in notifications
parent
7a8ec235e0
commit
8be4e6adc2
|
@ -322,7 +322,7 @@ def notifications(v:User):
|
||||||
for x in c.replies2:
|
for x in c.replies2:
|
||||||
if x.replies2 == None: x.replies2 = []
|
if x.replies2 == None: x.replies2 = []
|
||||||
count = 0
|
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 < 50 and c.parent_comment and (count == 0 or c.parent_comment.author_id == v.id or c.parent_comment.id in cids):
|
||||||
count += 1
|
count += 1
|
||||||
c = c.parent_comment
|
c = c.parent_comment
|
||||||
if c.replies2 == None:
|
if c.replies2 == None:
|
||||||
|
|
Loading…
Reference in New Issue