From e01ed5d9573196644a1d28d69fc0ab883fffcbea Mon Sep 17 00:00:00 2001 From: Chad Birch Date: Wed, 12 Jun 2013 21:15:42 -0600 Subject: [PATCH] Enable comment-highlighting and butler by default --- r2/r2/controllers/post.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/r2/r2/controllers/post.py b/r2/r2/controllers/post.py index 2201eeb47..3e7fb5d4c 100644 --- a/r2/r2/controllers/post.py +++ b/r2/r2/controllers/post.py @@ -119,10 +119,14 @@ class PostController(ApiController): if kw.get("pref_no_profanity") or c.user.pref_no_profanity: kw['pref_label_nsfw'] = True + # default all the gold options to on if they don't have gold if not c.user.gold: - kw['pref_show_adbox'] = True - kw['pref_show_sponsors'] = True - kw['pref_show_sponsorships'] = True + for pref in ('pref_show_adbox', + 'pref_show_sponsors', + 'pref_show_sponsorships', + 'pref_highlight_new_comments', + 'pref_monitor_mentions'): + kw[pref] = True self.set_options(all_langs, pref_lang, **kw) u = UrlParser(c.site.path + "prefs")