refactor: Use AppSettings enum based configuration everywhere and fix load from json on web
This commit is contained in:
parent
4f0ed3e93f
commit
4c357f6249
46 changed files with 357 additions and 402 deletions
|
|
@ -1,10 +1,29 @@
|
|||
{
|
||||
"application_name": "FluffyChat",
|
||||
"application_welcome_message": null,
|
||||
"default_homeserver": "matrix.org",
|
||||
"web_base_url": "https://fluffychat.im/web",
|
||||
"privacy_url": "https://fluffychat.im/en/privacy.html",
|
||||
"render_html": false,
|
||||
"hide_redacted_events": false,
|
||||
"hide_unknown_events": false
|
||||
"applicationName": "FluffyChat",
|
||||
"defaultHomeserver": "matrix.org",
|
||||
"privacyUrl": "https://github.com/krille-chan/fluffychat/blob/main/PRIVACY.md",
|
||||
"audioRecordingNumChannels": 1,
|
||||
"audioRecordingAutoGain": true,
|
||||
"audioRecordingEchoCancel": false,
|
||||
"audioRecordingNoiseSuppress": true,
|
||||
"audioRecordingBitRate": 64000,
|
||||
"audioRecordingSamplingRate": 44100,
|
||||
"renderHtml": true,
|
||||
"fontSizeFactor": 1,
|
||||
"hideRedactedEvents": false,
|
||||
"hideUnknownEvents": true,
|
||||
"separateChatTypes": false,
|
||||
"autoplayImages": true,
|
||||
"sendTypingNotifications": true,
|
||||
"sendPublicReadReceipts": true,
|
||||
"swipeRightToLeftToReply": true,
|
||||
"sendOnEnter": false,
|
||||
"showPresences": true,
|
||||
"displayNavigationRail": false,
|
||||
"experimentalVoip": false,
|
||||
"shareKeysWith": "all",
|
||||
"noEncryptionWarningShown": false,
|
||||
"displayChatDetailsColumn": false,
|
||||
"colorSchemeSeedInt": 4283835834,
|
||||
"enableSoftLogout": false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue