Added more stuff that's actually being added to instanceConfig, simplified the whitelist.

This commit is contained in:
Henry Jameson 2018-09-09 21:51:40 +03:00
parent 82fa5d08c4
commit 580aae1b54
3 changed files with 15 additions and 17 deletions

View file

@ -1,6 +1,7 @@
import { set } from 'vue'
const defaultState = {
// Stuff from static/config.json and apiConfig
name: 'Pleroma FE',
registrationOpen: true,
textlimit: 5000,
@ -17,9 +18,19 @@ const defaultState = {
formattingOptionsEnabled: false,
collapseMessageWithSubject: false,
disableChat: false,
// Nasty stuff
pleromaBackend: true,
emoji: [],
customEmoji: [],
// Feature-set, apparently, not everything here is reported...
mediaProxyAvailable: false,
chatAvailable: false,
gopherAvailable: false,
suggestionsEnabled: false,
suggestionsWeb: '',
// Html stuff
instanceSpecificPanelContent: '',
tos: ''