force posts by PERMA-chudded users to go to /h/chudrama

master
Aevann1 2022-10-30 00:17:16 +02:00
parent ea2bd29a47
commit d7091c4799
1 changed files with 2 additions and 0 deletions

View File

@ -783,6 +783,8 @@ def submit_post(v, sub=None):
if url and url.startswith(SITE_FULL):
url = url.split(SITE_FULL)[1]
if v.agendaposter == 1: sub = 'chudrama'
post = Submission(
private=bool(request.values.get("private","")),
notify=bool(request.values.get("notify","")),