From 25e5c8bc23ac1c7301ff839710a86ac0c55f9ab8 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 26 Apr 2024 03:20:10 +0300 Subject: [PATCH] do this https://rdrama.net/notification/6313618#context --- files/routes/comments.py | 3 +++ files/routes/posts.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/files/routes/comments.py b/files/routes/comments.py index d5bc9638c..a4d6aad09 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -219,6 +219,9 @@ def comment(v): sharpened=bool(v.sharpen), ) + if SITE == 'rdrama.net' and v.id == 7015: + c.ghost = True + c.upvotes = 1 body_html = sanitize(body, limit_pings=5, showmore=(not v.hieroglyphs), count_emojis=not v.marsify, commenters_ping_post_id=commenters_ping_post_id, obj=c, author=v) diff --git a/files/routes/posts.py b/files/routes/posts.py index b2180e53a..5d9c26cf6 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -606,6 +606,9 @@ def submit_post(v, hole=None): if SITE == 'watchpeopledie.tv': p.cw = request.values.get("cw", False, bool) + if SITE == 'rdrama.net' and v.id == 7015: + p.ghost = True + if not p.draft: p.chudded = v.chud and hole != 'chudrama' and not (p.is_longpost and not v.chudded_by) p.queened = v.queen and not p.is_longpost