This commit is contained in:
Aevann1 2021-07-26 01:59:02 +02:00
parent ea7e285b29
commit 7a1988b26a

View file

@ -384,6 +384,8 @@ def api_comment(v):
if v.shadowbanned: shadowbanned = True
else: shadowbanned = False
# create comment
parent_id = parent_fullname.split("_")[1]
post = get_post(parent_id)
c = Comment(author_id=v.id,
parent_submission=parent_submission,
parent_fullname=parent.fullname,