From e5046c9f20c12aebd9c186a2ef015e431fc75843 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 24 Aug 2022 00:00:15 +0200 Subject: [PATCH] remove /h/slackernews from the boost --- 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 e7b34e788..77bc3bf7e 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -127,7 +127,7 @@ def vote_post(post_id, new, v): post.realupvotes = g.db.query(Vote).filter_by(submission_id=post.id, real=True).count() if post.author.progressivestack \ - or post.sub in ('slackernews','space','istory','dinos') \ + or post.sub in ('space','istory','dinos') \ or post.domain.endswith('.win'): post.realupvotes *= 2