From 9d177250ef0258b38ed334fd87b332ee18bd5366 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 e7cc52d7cd..38809247e4 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,