Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
e148ff47ab
commit
f71fe0afb8
2 changed files with 3 additions and 2 deletions
|
@ -254,6 +254,7 @@ const getNodeInfo = async ({ store }) => {
|
|||
store.dispatch('setInstanceOption', { name: 'shoutAvailable', value: features.includes('chat') })
|
||||
store.dispatch('setInstanceOption', { name: 'pleromaChatMessagesAvailable', value: features.includes('pleroma_chat_messages') })
|
||||
store.dispatch('setInstanceOption', { name: 'pleromaCustomEmojiReactionsAvailable', value: features.includes('pleroma_custom_emoji_reactions') || features.includes('custom_emoji_reactions') })
|
||||
store.dispatch('setInstanceOption', { name: 'quotePostsAvailable', value: features.includes('quote_posting') })
|
||||
store.dispatch('setInstanceOption', { name: 'gopherAvailable', value: features.includes('gopher') })
|
||||
store.dispatch('setInstanceOption', { name: 'pollsAvailable', value: features.includes('polls') })
|
||||
store.dispatch('setInstanceOption', { name: 'editingAvailable', value: features.includes('editing') })
|
||||
|
|
|
@ -5,8 +5,8 @@ const FeaturesPanel = {
|
|||
shout: function () { return this.$store.state.instance.shoutAvailable },
|
||||
pleromaChatMessages: function () { return this.$store.state.instance.pleromaChatMessagesAvailable },
|
||||
gopher: function () { return this.$store.state.instance.gopherAvailable },
|
||||
quotePosts: function () { return this.$store.state.instance.quotepostsAvailable },
|
||||
customReacts: function () { return this.$store.state.instance.customReactsAvailable },
|
||||
quotePosts: function () { return this.$store.state.instance.quotePostsAvailable },
|
||||
customReacts: function () { return this.$store.state.instance.pleromaCustomEmojiReactionsAvailable },
|
||||
whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
|
||||
mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
|
||||
minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },
|
||||
|
|
Loading…
Reference in a new issue