remove /h/slackernews from the boost

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-24 00:00:15 +02:00
parent 163c241fa6
commit e5046c9f20
1 changed files with 1 additions and 1 deletions

View File

@ -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