remotes/1693045480750635534/spooky-22
Aevann1 2021-10-13 17:13:37 +02:00
parent 38f56af7ca
commit 8699c794d3
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@ from files.routes.front import comment_idlist
from pusher_push_notifications import PushNotifications
from flask import *
from files.__main__ import app, limiter
from .posts import filter_title
site = environ.get("DOMAIN").strip()
@ -263,7 +264,7 @@ def api_comment(v):
parent_submission=parent_submission,
parent_comment_id=c.id,
level=level+1,
body=option
body=filter_title(option)
)
g.db.add(c_option)

View File

@ -690,7 +690,7 @@ def submit_post(v):
c = Comment(author_id=AUTOPOLLER_ACCOUNT,
parent_submission=new_post.id,
level=1,
body=option,
body=filter_title(option),
)
g.db.add(c)