diff --git a/drama/routes/comments.py b/drama/routes/comments.py index f70f00400..319320f69 100644 --- a/drama/routes/comments.py +++ b/drama/routes/comments.py @@ -309,7 +309,7 @@ def api_comment(v): level=level, over_18=parent_post.over_18 or request.form.get("over_18","")=="true", is_bot=is_bot, - app_id=v.client.application.id if v.client else None, + # app_id=v.client.application.id if v.client else None, shadowbanned=v.shadowbanned ) g.db.add(c) diff --git a/drama/routes/posts.py b/drama/routes/posts.py index b5ae29edf..a0a0f5089 100644 --- a/drama/routes/posts.py +++ b/drama/routes/posts.py @@ -775,7 +775,7 @@ def submit_post(v): private=bool(request.form.get("private","")), author_id=v.id, over_18=bool(request.form.get("over_18","")), - app_id=v.client.application.id if v.client else None, + # app_id=v.client.application.id if v.client else None, is_bot = request.headers.get("X-User-Type","").lower()=="bot" )