this is retarded

pull/40/head
Aevann1 2022-11-30 13:35:57 +02:00
parent 93dc0e2cc8
commit abe07e7754
2 changed files with 2 additions and 9 deletions

View File

@ -469,7 +469,6 @@ MAX_VIDEO_SIZE_MB_PATRON = 64
MAX_IMAGE_CONVERSION_TIMEOUT = 15 # seconds
ANTISPAM_BYPASS_IDS = set()
BOOSTED_USERS_EXCLUDED = set()
PAGE_SIZE = 25
LEADERBOARD_LIMIT = PAGE_SIZE
@ -565,13 +564,7 @@ if SITE == 'rdrama.net':
2008, #TransGirlTradWife
29, #QuadNarca
JOAN_ID,
}
BOOSTED_USERS_EXCLUDED = {
8768,
3402,
5214,
12719
4389, #WorldAroundEwe
}
GIFT_NOTIF_ID = CARP_ID

View File

@ -152,7 +152,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
elif cls == Submission:
if target.domain.endswith('.win') or (target.domain in BOOSTED_SITES and not target.url.startswith('/')) or target.sub in BOOSTED_HOLES:
mul = 2
elif not target.sub and target.body_html and target.author.id not in BOOSTED_USERS_EXCLUDED:
elif not target.sub and target.body_html and target.author.id not in {8768,3402,5214,12719}:
x = target.body_html.count('" target="_blank" rel="nofollow noopener">')
x += target.body_html.count('<a href="/images/')
target.realupvotes += min(x*2, 20)