diff --git a/files/helpers/const_stateful.py b/files/helpers/const_stateful.py index b76f6b1bf..596ab7e85 100644 --- a/files/helpers/const_stateful.py +++ b/files/helpers/const_stateful.py @@ -35,7 +35,7 @@ def const_initialize(): SNAPPY_KONGS = db.query(Emoji.name).filter(Emoji.kind=="Donkey Kong", Emoji.submitter_id==None, Emoji.nsfw == False).all() SNAPPY_KONGS = [f':#{x[0]}:' for x in SNAPPY_KONGS] - GIGABOOSTED_HOLES = [x[0] for x in db.query(Hole.name).filter_by(stealth=True)] + ['highrollerclub','countryclub'] + GIGABOOSTED_HOLES = [x[0] for x in db.query(Hole.name).filter_by(stealth=True)] + ['highrollerclub','countryclub'] - ['chudrama'] NSFW_EMOJIS = [x[0] for x in db.query(Emoji.name).filter_by(nsfw=True)] diff --git a/files/routes/votes.py b/files/routes/votes.py index 9236f72ae..d305e36a6 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -171,6 +171,8 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): if any(i in target.domain for i in ('forum','community','chan','lemmy','mastodon')) \ or (target.domain in BOOSTED_SITES and not target.url.startswith('/')): mul = 2 + elif target.hole == 'chudrama': + mul = 2 elif target.hole in BOOSTED_HOLES: mul = 1.25