forked from rDrama/rDrama
change lemmy boosting
parent
b2b79f8076
commit
75d3eea134
|
@ -353,24 +353,15 @@ if SITE_NAME == 'rDrama':
|
|||
'livefilter.com',
|
||||
'sift.quest',
|
||||
##lemmy
|
||||
'lemmy.world',
|
||||
'lemmy.ml',
|
||||
'beehaw.org',
|
||||
'sh.itjust.works',
|
||||
'lemm.ee',
|
||||
'feddit.de',
|
||||
'lemmynsfw.com',
|
||||
'lemmy.fmhy.ml',
|
||||
'lemmy.ca',
|
||||
'programming.dev',
|
||||
'lemmy.dbzer0.com',
|
||||
'lemmy.blahaj.zone',
|
||||
'lemmy.one',
|
||||
'lemmy.sdf.org',
|
||||
'discuss.tchncs.de',
|
||||
'lemmygrad.ml',
|
||||
'exploding-heads.com',
|
||||
#+All sites with .win TLD
|
||||
#+All sites with 'lemmy' in the domain
|
||||
|
||||
#misc
|
||||
'cinchnews.com',
|
||||
|
|
|
@ -171,7 +171,8 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
elif target.author.progressivestack or (target.author.admin_level and target.author.id not in {CARP_ID, SCHIZO_ID}):
|
||||
mul = 2
|
||||
elif SITE == 'rdrama.net' and cls == Post:
|
||||
if (target.domain.endswith('.win') or 'forum' in target.domain or 'chan' in target.domain
|
||||
if (target.domain.endswith('.win')
|
||||
or 'forum' in target.domain or 'chan' in target.domain or 'lemmy' in target.domain
|
||||
or (target.domain in BOOSTED_SITES and not target.url.startswith('/'))):
|
||||
mul = 2
|
||||
elif target.sub in STEALTH_HOLES:
|
||||
|
|
Loading…
Reference in New Issue