Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost

master
gooseman 2022-11-10 20:48:48 -08:00
commit ee42d470dd
2 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -770,14 +770,15 @@ def submit_post(v, sub=None):
if embed and len(embed) > 1500: embed = None
ghost = (request.values.get("ghost") == "on")
ghost = bool(request.values.get("ghost"))
if embed: embed = embed.strip()
if url and url.startswith(SITE_FULL):
url = url.split(SITE_FULL)[1]
if v.agendaposter == 1: sub = 'chudrama'
if SITE == 'rdrama.net' and v.agendaposter == 1:
sub = 'chudrama'
post = Submission(
private=bool(request.values.get("private","")),