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