df
This commit is contained in:
parent
ea7e285b29
commit
7a1988b26a
1 changed files with 2 additions and 0 deletions
|
@ -384,6 +384,8 @@ def api_comment(v):
|
||||||
if v.shadowbanned: shadowbanned = True
|
if v.shadowbanned: shadowbanned = True
|
||||||
else: shadowbanned = False
|
else: shadowbanned = False
|
||||||
# create comment
|
# create comment
|
||||||
|
parent_id = parent_fullname.split("_")[1]
|
||||||
|
post = get_post(parent_id)
|
||||||
c = Comment(author_id=v.id,
|
c = Comment(author_id=v.id,
|
||||||
parent_submission=parent_submission,
|
parent_submission=parent_submission,
|
||||||
parent_fullname=parent.fullname,
|
parent_fullname=parent.fullname,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue