forked from rDrama/rDrama
fds
parent
56765fc64e
commit
04341c673d
|
@ -95,6 +95,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:
|
||||||
|
|
||||||
for x in c.replies:
|
for x in c.replies:
|
||||||
if x.author_id == v.id:
|
if x.author_id == v.id:
|
||||||
x.voted = 1
|
x.voted = 1
|
||||||
|
@ -108,9 +109,11 @@ def notifications(v):
|
||||||
parent.replies2 = parent.replies2 + [c]
|
parent.replies2 = parent.replies2 + [c]
|
||||||
parent.replies = parent.replies2
|
parent.replies = parent.replies2
|
||||||
c = parent
|
c = parent
|
||||||
|
|
||||||
if c not in listing:
|
if c not in listing:
|
||||||
listing.append(c)
|
listing.append(c)
|
||||||
c.replies = c.replies2
|
c.replies = c.replies2
|
||||||
|
|
||||||
elif c.parent_submission:
|
elif c.parent_submission:
|
||||||
for x in c.replies:
|
for x in c.replies:
|
||||||
if x.author_id == v.id:
|
if x.author_id == v.id:
|
||||||
|
|
Loading…
Reference in New Issue