forked from rDrama/rDrama
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
commit
ee42d470dd
Binary file not shown.
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 99 KiB |
|
@ -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","")),
|
||||
|
|
Loading…
Reference in New Issue