From 8e5c00e3514f2c6dec8ec2be8f76834363e700a8 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 29 Jan 2023 18:29:17 +0200 Subject: [PATCH] pin snally posts --- files/helpers/config/const.py | 2 ++ files/routes/posts.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 020c58b23..9662f8598 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -632,6 +632,7 @@ JUSTCOOL_ID = 0 LAWLZ_ID = 0 TGTW_ID = 0 IDIO_ID = 0 +SNALLY_ID = 0 MODMAIL_ID = 2 GIFT_NOTIF_ID = 5 @@ -728,6 +729,7 @@ if SITE == 'rdrama.net': LAWLZ_ID = 3833 TGTW_ID = 2008 IDIO_ID = 30 + SNALLY_ID = 3336 NOTIFIED_USERS = { 'aevan': AEVANN_ID, diff --git a/files/routes/posts.py b/files/routes/posts.py index dc46ea567..43a9c7020 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -792,7 +792,7 @@ def submit_post(v:User, sub=None): execute_lawlz_actions(v, post) if (SITE == 'rdrama.net' - and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, TGTW_ID) + and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, TGTW_ID, SNALLY_ID) and not (post.sub and post.subr.stealth)): post.stickied_utc = int(time.time()) + 3600 post.stickied = "AutoJanny"