diff --git a/files/helpers/config/boosted_sites.py b/files/helpers/config/boosted_sites.py index c934e32c9..658ac28ba 100644 --- a/files/helpers/config/boosted_sites.py +++ b/files/helpers/config/boosted_sites.py @@ -164,7 +164,6 @@ BOOSTED_SITES = { 'metafilter.com', 'sqwok.im', 'thelayoff.com', - 'stackoverflow.com', 'serverfault.com', 'superuser.com', 'goodreads.com', diff --git a/files/routes/votes.py b/files/routes/votes.py index 13fec2185..32adae89c 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -170,7 +170,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): elif SITE == 'rdrama.net' and cls == Post: if target.hole == 'chudrama': mul = 3 - elif any(i in target.domain for i in ('forum','community','chan','lemmy','mastodon')) \ + elif any(i in target.domain for i in ('forum','community','chan','lemmy','mastodon','stackoverflow.com','stackexchange.com')) \ or (target.domain in BOOSTED_SITES and not target.url.startswith('/')): mul = 2 elif target.hole in BOOSTED_HOLES: