diff --git a/host_vars/candy.freefeed.net b/host_vars/candy.freefeed.net index be01c82..cd79a03 100644 --- a/host_vars/candy.freefeed.net +++ b/host_vars/candy.freefeed.net @@ -22,4 +22,7 @@ translation_enabled: true translation_monthly_quote: 50000 translation_daily_quote: 2000 +user_preferences_defaults: + hideCommentsOfTypes: + - 4 # The Comment.HIDDEN_VIEWER_BANNED constant user_preferences_overrides: {} diff --git a/host_vars/freefeed.net b/host_vars/freefeed.net index 0fde0e4..7fe2e8c 100644 --- a/host_vars/freefeed.net +++ b/host_vars/freefeed.net @@ -25,6 +25,9 @@ translation_enabled: true translation_monthly_quote: 2500000 translation_daily_quote: 25000 +user_preferences_defaults: + hideCommentsOfTypes: + - 4 # The Comment.HIDDEN_VIEWER_BANNED constant user_preferences_overrides: notifyOfCommentsOnMyPosts: createdSince: "2023-11-27" diff --git a/roles/server/templates/local.json.j2 b/roles/server/templates/local.json.j2 index 4f80737..dc79d56 100644 --- a/roles/server/templates/local.json.j2 +++ b/roles/server/templates/local.json.j2 @@ -130,6 +130,7 @@ "apiKey": {{ translation_api_key | default("") | tojson }} }, "userPreferences": { + "defaults": {{ user_preferences_defaults | tojson }}, "overrides": {{ user_preferences_overrides | tojson }} } }