about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-06 02:15:56 +0200
committerGitHub <noreply@github.com>2018-07-06 02:15:56 +0200
commitf89c595ea070d2017adb868fb5e311e198d8e990 (patch)
tree184c3ee83a0662b1438f2ee3a0cf02ab416e40eb /config
parent404c7702ec2a6576ef3b54f6a800624adfda9d53 (diff)
Add admin setting to enable OG previews for sensitive media (#7962)
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml3
-rw-r--r--config/settings.yml1
2 files changed, 4 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 8ab652045..a03b12a39 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -316,6 +316,9 @@ en:
       peers_api_enabled:
         desc_html: Domain names this instance has encountered in the fediverse
         title: Publish list of discovered instances
+      preview_sensitive_media:
+        desc_html: Link previews on other websites will display a thumbnail even if the media is marked as sensitive
+        title: Show sensitive media in OpenGraph previews
       registrations:
         closed_message:
           desc_html: Displayed on frontpage when registrations are closed. You can use HTML tags
diff --git a/config/settings.yml b/config/settings.yml
index 3581d10a2..190f6afcd 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -26,6 +26,7 @@ defaults: &defaults
   delete_modal: true
   auto_play_gif: false
   display_sensitive_media: false
+  preview_sensitive_media: false
   reduce_motion: false
   system_font_ui: false
   noindex: false