commit: 92eb55c7bc3cf210b86259b99c3e2b8f192bf325
parent: c626f84336b08caefe72c9b74957a6c9e146d1f4
Author: lambda <lain@soykaf.club>
Date: Fri, 15 Mar 2019 13:03:35 +0000
Merge branch 'bugfix/nodeinfo-post-formats' into 'develop'
after store: fix setting postFormats field
See merge request pleroma/pleroma-fe!683
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/boot/after_store.js b/src/boot/after_store.js
@@ -198,6 +198,7 @@ const getNodeInfo = async ({ store }) => {
store.dispatch('setInstanceOption', { name: 'gopherAvailable', value: features.includes('gopher') })
store.dispatch('setInstanceOption', { name: 'restrictedNicknames', value: metadata.restrictedNicknames })
+ store.dispatch('setInstanceOption', { name: 'postFormats', value: metadata.postFormats })
const suggestions = metadata.suggestions
store.dispatch('setInstanceOption', { name: 'suggestionsEnabled', value: suggestions.enabled })