forked from rDrama/rDrama
dfs
parent
41611928ce
commit
5195dde00a
|
@ -122,9 +122,7 @@ def notifications(v):
|
||||||
x.voted = 1
|
x.voted = 1
|
||||||
if x not in c.replies2: c.replies2.append(x)
|
if x not in c.replies2: c.replies2.append(x)
|
||||||
|
|
||||||
counter = 0
|
if c.parent_comment and (c.parent_comment.author_id == v.id or c.parent_comment in comments):
|
||||||
while counter < 10 and c.parent_comment and (c.parent_comment.author_id == v.id or c.parent_comment in comments):
|
|
||||||
counter += 1
|
|
||||||
parent = c.parent_comment
|
parent = c.parent_comment
|
||||||
if parent.replies2 == None: parent.replies2 = [c]
|
if parent.replies2 == None: parent.replies2 = [c]
|
||||||
elif c not in parent.replies2: parent.replies2.append(c)
|
elif c not in parent.replies2: parent.replies2.append(c)
|
||||||
|
|
Loading…
Reference in New Issue