From 1962fe4d2db635f5eadc1e7981233a599ee2be26 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 18 Aug 2023 23:39:33 +0300 Subject: [PATCH] increase /h/highrollerclub's boost from 1.25 to 2 --- files/helpers/config/const.py | 1 - files/routes/votes.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index b742d705a..1df86feb6 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -264,7 +264,6 @@ if SITE_NAME == 'rDrama': 'museumofrdrama', 'space', 'femaledatingstrategy', - 'highrollerclub', 'meta', } diff --git a/files/routes/votes.py b/files/routes/votes.py index d8e998fb8..a85025088 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -133,7 +133,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): or 'forum' in target.domain or 'chan' in target.domain or 'lemmy' in target.domain or (target.domain in BOOSTED_SITES and not target.url.startswith('/'))): mul = 2 - elif target.sub in STEALTH_HOLES or target.sub == 'countryclub': + elif target.sub in STEALTH_HOLES or target.sub in {'countryclub', 'highrollerclub'}: mul = 2 elif 6 <= datetime.fromtimestamp(target.created_utc).hour <= 10: mul = 2