remotes/1693045480750635534/spooky-22
Aevann1 2021-11-16 05:19:06 +02:00
parent fbaa474b16
commit 22b9452f7a
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ def api_comment(v):
parent_submission=parent_submission,
parent_comment_id=parent_comment_id,
level=level,
over_18=parent_post.over_18 or request.values.get("over_18","")=="true",
over_18=request.host == 'pcmemes.net' and v.id == 1578 or parent_post.over_18 or request.values.get("over_18","")=="true",
is_bot=is_bot,
app_id=v.client.application.id if v.client else None,
body_html=body_html,

View File

@ -698,7 +698,7 @@ def submit_post(v):
private=bool(request.values.get("private","")),
club=club,
author_id=v.id,
over_18=bool(request.values.get("over_18","")),
over_18=request.host == 'pcmemes.net' and v.id == 1578 or bool(request.values.get("over_18","")),
app_id=v.client.application.id if v.client else None,
is_bot = request.headers.get("Authorization"),
url=url,