forked from MarseyWorld/MarseyWorld
diversity is our strength
parent
915967ddd0
commit
6778ef14ad
|
@ -1390,7 +1390,24 @@ BOOSTED_SITES = {
|
|||
'incels.is',
|
||||
'groups.google.com',
|
||||
't.me',
|
||||
'web.telegram.org'
|
||||
'web.telegram.org',
|
||||
'news.ycombinator.com',
|
||||
'tigerdroppings.com',
|
||||
'instagram.com',
|
||||
'facebook.com',
|
||||
'twitch.tv',
|
||||
'tiktok.com',
|
||||
'vm.tiktok.com',
|
||||
'github.com',
|
||||
'boards.4channel.org',
|
||||
'boards.4chan.org',
|
||||
'archive.4plebs.org',
|
||||
'lipstickalley.com',
|
||||
'resetera.com',
|
||||
'steamcommunity.com',
|
||||
'nairaland.com',
|
||||
'marsey.club',
|
||||
'odysee.com',
|
||||
}
|
||||
|
||||
IMAGE_FORMATS = ('webp','jpg','jpeg','png','gif','gifv','tif','tiff')
|
||||
|
|
|
@ -139,7 +139,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
target.downvotes = get_vote_count(-1, False)
|
||||
target.realupvotes = get_vote_count(0, True) # first arg is ignored here
|
||||
|
||||
if target.author.progressivestack or (cls == Submission and (target.sub in ('space', 'istory', 'dinos') or target.domain.endswith('.win') or target.domain in BOOSTED_SITES)):
|
||||
if target.author.progressivestack or (cls == Submission and (target.sub in ('space', 'istory', 'dinos', 'furry', 'anime') or target.domain.endswith('.win') or target.domain in BOOSTED_SITES)):
|
||||
target.realupvotes *= 2
|
||||
g.db.add(target)
|
||||
return "", 204
|
||||
|
|
Loading…
Reference in New Issue