aboutsummaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorHJ <spam@hjkos.com>2018-12-27 17:13:17 +0000
committerHJ <spam@hjkos.com>2018-12-27 17:13:17 +0000
commita86b80b0544ca93a1b59ff521fd9b1e8bbc3f8c9 (patch)
tree14424ed419720cd62cd58e62e78f2fb61497fb3d /src/boot
parent754cb23f354369d57dbe3f36e530709850ae7028 (diff)
parent0f530de397f43744ef1d83f97b76869404f80218 (diff)
Merge branch 'feature/no-attachment-links' into 'develop'
No attachment links Closes #175 See merge request pleroma/pleroma-fe!442
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/after_store.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/boot/after_store.js b/src/boot/after_store.js
index 5b9e5c96..6e87d5f6 100644
--- a/src/boot/after_store.js
+++ b/src/boot/after_store.js
@@ -72,6 +72,7 @@ const afterStoreSetup = ({ store, i18n }) => {
var scopeCopy = (config.scopeCopy)
var subjectLineBehavior = (config.subjectLineBehavior)
var alwaysShowSubjectInput = (config.alwaysShowSubjectInput)
+ var noAttachmentLinks = (config.noAttachmentLinks)
store.dispatch('setInstanceOption', { name: 'theme', value: theme })
store.dispatch('setInstanceOption', { name: 'background', value: background })
@@ -90,6 +91,8 @@ const afterStoreSetup = ({ store, i18n }) => {
store.dispatch('setInstanceOption', { name: 'scopeCopy', value: scopeCopy })
store.dispatch('setInstanceOption', { name: 'subjectLineBehavior', value: subjectLineBehavior })
store.dispatch('setInstanceOption', { name: 'alwaysShowSubjectInput', value: alwaysShowSubjectInput })
+ store.dispatch('setInstanceOption', { name: 'noAttachmentLinks', value: noAttachmentLinks })
+
if (chatDisabled) {
store.dispatch('disableChat')
}