Merge branch 'bugfix/nodeinfo-post-formats' into 'develop'

after store: fix setting postFormats field

See merge request pleroma/pleroma-fe!683
This commit is contained in:
lambda 2019-03-15 13:03:35 +00:00
commit 92eb55c7bc

View file

@ -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 })