commit: ed824d964efdd95c30bcf69274e8f7cab032b79b
parent e0cde9a29bea808f5f4b92dbe79d0552dd5b81ed
Author: Mark Felder <feld@feld.me>
Date: Tue, 1 Jun 2021 16:48:40 -0500
Use old value to discover if Shoutbox is available until we ship a new release that's declaring the feature as "shout"
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/boot/after_store.js b/src/boot/after_store.js
@@ -240,7 +240,7 @@ const getNodeInfo = async ({ store }) => {
store.dispatch('setInstanceOption', { name: 'registrationOpen', value: data.openRegistrations })
store.dispatch('setInstanceOption', { name: 'mediaProxyAvailable', value: features.includes('media_proxy') })
store.dispatch('setInstanceOption', { name: 'safeDM', value: features.includes('safe_dm_mentions') })
- store.dispatch('setInstanceOption', { name: 'shoutAvailable', value: features.includes('shout') })
+ store.dispatch('setInstanceOption', { name: 'shoutAvailable', value: features.includes('chat') })
store.dispatch('setInstanceOption', { name: 'pleromaChatMessagesAvailable', value: features.includes('pleroma_chat_messages') })
store.dispatch('setInstanceOption', { name: 'gopherAvailable', value: features.includes('gopher') })
store.dispatch('setInstanceOption', { name: 'pollsAvailable', value: features.includes('polls') })