boost new users by 2

master
Aevann 2024-02-23 19:31:27 +02:00
parent b5e814366e
commit c605e9bcdb
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,8 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
mul = 4
elif target.author.progressivestack or (IS_HOMOWEEN() and target.author.zombie < 0) or target.author.admin_level >= PERMS['IS_PERMA_PROGSTACKED']:
mul = 2
elif SITE == 'rdrama.net' and target.author.new_user and not target.author.alts:
mul = 2
elif SITE == 'rdrama.net' and cls == Post:
if target.domain.endswith('.win') \
or any(i in target.domain for i in ('forum','community','chan','lemmy','mastodon')) \