chudrama 3 boost
parent
da3090b8ba
commit
89f8cd56cb
|
@ -168,11 +168,11 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
||||||
elif SITE == 'rdrama.net' and 6 <= datetime.fromtimestamp(target.created_utc).hour <= 10:
|
elif SITE == 'rdrama.net' and 6 <= datetime.fromtimestamp(target.created_utc).hour <= 10:
|
||||||
mul = 2
|
mul = 2
|
||||||
elif SITE == 'rdrama.net' and cls == Post:
|
elif SITE == 'rdrama.net' and cls == Post:
|
||||||
if any(i in target.domain for i in ('forum','community','chan','lemmy','mastodon')) \
|
if target.hole == 'chudrama':
|
||||||
|
mul = 3
|
||||||
|
elif any(i in target.domain for i in ('forum','community','chan','lemmy','mastodon')) \
|
||||||
or (target.domain in BOOSTED_SITES and not target.url.startswith('/')):
|
or (target.domain in BOOSTED_SITES and not target.url.startswith('/')):
|
||||||
mul = 2
|
mul = 2
|
||||||
elif target.hole == 'chudrama':
|
|
||||||
mul = 2
|
|
||||||
elif target.hole in BOOSTED_HOLES:
|
elif target.hole in BOOSTED_HOLES:
|
||||||
mul = 1.25
|
mul = 1.25
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue