From 7a1988b26a9362d290cc3da75a9b93fe88c01aee Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 26 Jul 2021 01:59:02 +0200 Subject: [PATCH] df --- drama/routes/comments.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drama/routes/comments.py b/drama/routes/comments.py index e7cc52d7c..38809247e 100644 --- a/drama/routes/comments.py +++ b/drama/routes/comments.py @@ -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,