aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-05-13 14:28:35 -0500
committerMark Felder <feld@FreeBSD.org>2020-05-13 14:28:35 -0500
commitc2bba3f5addf4c6b851bd2d2e7e53d7e897c0115 (patch)
tree7e1206f3f127f4738f029746e36dec201110fda8
parent7a0e554daf843fe9e98053e79ec0114c380ededb (diff)
Remove unused noAttachmentLinks option
-rw-r--r--src/boot/after_store.js1
-rw-r--r--src/modules/instance.js1
-rw-r--r--static/config.json1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/boot/after_store.js b/src/boot/after_store.js
index 34f6d6e7..abdba305 100644
--- a/src/boot/after_store.js
+++ b/src/boot/after_store.js
@@ -108,7 +108,6 @@ const setSettings = async ({ apiConfig, staticConfig, store }) => {
copyInstanceOption('subjectLineBehavior')
copyInstanceOption('postContentType')
copyInstanceOption('alwaysShowSubjectInput')
- copyInstanceOption('noAttachmentLinks')
copyInstanceOption('showFeaturesPanel')
copyInstanceOption('hideSitename')
diff --git a/src/modules/instance.js b/src/modules/instance.js
index ffece311..0f430e81 100644
--- a/src/modules/instance.js
+++ b/src/modules/instance.js
@@ -32,7 +32,6 @@ const defaultState = {
hideSitename: false,
nsfwCensorImage: undefined,
vapidPublicKey: undefined,
- noAttachmentLinks: false,
showFeaturesPanel: true,
minimalScopesMode: false,
greentext: false,
diff --git a/static/config.json b/static/config.json
index c8267869..0ce85f99 100644
--- a/static/config.json
+++ b/static/config.json
@@ -16,7 +16,6 @@
"hideUserStats": false,
"loginMethod": "password",
"webPushNotifications": false,
- "noAttachmentLinks": false,
"nsfwCensorImage": "",
"showFeaturesPanel": true,
"minimalScopesMode": false