From cae4986c29bc9c8917e420fa27d61df0c65a803f Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 24 Apr 2024 10:48:37 +0200 Subject: [PATCH] add "board" to boosts --- files/routes/votes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index 32adae89c..2342d813b 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -170,7 +170,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): elif SITE == 'rdrama.net' and cls == Post: if target.hole == 'chudrama': mul = 3 - elif any(i in target.domain for i in ('forum','community','chan','lemmy','mastodon','stackoverflow.com','stackexchange.com')) \ + elif any(i in target.domain for i in ('forum','community','board','chan','lemmy','mastodon','stackoverflow.com','stackexchange.com')) \ or (target.domain in BOOSTED_SITES and not target.url.startswith('/')): mul = 2 elif target.hole in BOOSTED_HOLES: