gf
This commit is contained in:
parent
45c0fc5bfb
commit
44ad08703d
1 changed files with 2 additions and 2 deletions
|
@ -112,7 +112,7 @@ def notifications(v):
|
||||||
elif c.parent_submission:
|
elif c.parent_submission:
|
||||||
replies = []
|
replies = []
|
||||||
for x in c.replies:
|
for x in c.replies:
|
||||||
if x.id not in all and x.author_id == v.id:
|
if x.author_id == v.id:
|
||||||
x.voted = 1
|
x.voted = 1
|
||||||
replies.append(x)
|
replies.append(x)
|
||||||
all.add(x.id)
|
all.add(x.id)
|
||||||
|
@ -126,7 +126,7 @@ def notifications(v):
|
||||||
all.add(c.id)
|
all.add(c.id)
|
||||||
c = c.parent_comment
|
c = c.parent_comment
|
||||||
|
|
||||||
if c.id not in all and c not in listing:
|
if c not in listing:
|
||||||
all.add(c.id)
|
all.add(c.id)
|
||||||
listing.append(c)
|
listing.append(c)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue