forked from rDrama/rDrama
master
parent
b9f7288389
commit
9d177250ef
|
@ -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…
Reference in New Issue