about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/reducers
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-07-24 11:10:49 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-07-24 11:10:49 +0200
commit3f4e27ab6f33ab1a18954a3046e6e9abdc2d5e12 (patch)
tree4aad4b6750235fdfa6ae7aa28e88180561240c1a /app/javascript/flavours/glitch/reducers
parent85d0e3474574d82fc653925560d2905cee43287e (diff)
Add local setting toggle to move media attachments outside CWs
Fixes #1812
Diffstat (limited to 'app/javascript/flavours/glitch/reducers')
-rw-r--r--app/javascript/flavours/glitch/reducers/local_settings.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/reducers/local_settings.js b/app/javascript/flavours/glitch/reducers/local_settings.js
index d4cdc124f..6d8feaf66 100644
--- a/app/javascript/flavours/glitch/reducers/local_settings.js
+++ b/app/javascript/flavours/glitch/reducers/local_settings.js
@@ -25,7 +25,8 @@ const initialState = ImmutableMap({
   tag_misleading_links: true,
   rewrite_mentions: 'no',
   content_warnings : ImmutableMap({
-    filter      : null,
+    filter       : null,
+    media_outside: false,
   }),
   collapsed : ImmutableMap({
     enabled     : true,