boost all domains that have "forum" in them

pull/59/head
Aevann1 2022-12-09 18:42:18 +02:00
parent d90a0d1300
commit 601e95ae07
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
if target.author.progressivestack:
mul = 2
if cls == Submission:
if (target.domain.endswith('.win')
if (target.domain.endswith('.win') or 'forum' in domain
or (target.domain in BOOSTED_SITES and not target.url.startswith('/'))
or target.sub in BOOSTED_HOLES):
mul = 2