force posts by @intervention into chudrama

pull/83/head
Aevann 2022-12-24 21:11:32 +02:00
parent f72e070122
commit ecf95ef51e
1 changed files with 3 additions and 0 deletions

View File

@ -548,6 +548,9 @@ def submit_post(v:User, sub=None):
sub = request.values.get("sub", "").lower().replace('/h/','').strip()
if SITE == 'rdrama.net' and v.id == 2167:
sub = "chudrama"
torture = (v.agendaposter and not v.marseyawarded and sub != 'chudrama')
title_html = filter_emojis_only(title, graceful=True, count_marseys=True, torture=torture)
if v.marseyawarded and not marseyaward_title_regex.fullmatch(title_html):