diff options
| author | Henry Jameson <me@hjkos.com> | 2018-09-09 21:51:40 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-09-17 17:51:39 +0300 |
| commit | 580aae1b545331b284724e54cc31c99e52862f57 (patch) | |
| tree | e63582b106eaf26921206161a4a7a1976ba21882 /src/modules/instance.js | |
| parent | 82fa5d08c4f441fa9df20edab214b99ecb7776b3 (diff) | |
Added more stuff that's actually being added to instanceConfig, simplified the whitelist.
Diffstat (limited to 'src/modules/instance.js')
| -rw-r--r-- | src/modules/instance.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modules/instance.js b/src/modules/instance.js index 228cee4c..a4fc9651 100644 --- a/src/modules/instance.js +++ b/src/modules/instance.js @@ -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: '' |
