Convert local settings to granular settings
This breaks language selection. Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
b3d17a7b51
commit
0d3f0eaf98
11 changed files with 83 additions and 77 deletions
|
@ -157,6 +157,41 @@ const SETTINGS = {
|
|||
supportedLevels: LEVELS_PRESET_ACCOUNT,
|
||||
default: "light",
|
||||
},
|
||||
"webRtcForceTURN": {
|
||||
supportedLevels: ['device'],
|
||||
default: false,
|
||||
displayName: _td('Disable Peer-to-Peer for 1:1 calls'),
|
||||
},
|
||||
"webrtc_audioinput": {
|
||||
supportedLevels: ['device'],
|
||||
},
|
||||
"webrtc_videoinput": {
|
||||
supportedLevels: ['device'],
|
||||
},
|
||||
"language": {
|
||||
supportedLevels: ['device'],
|
||||
default: "en"
|
||||
},
|
||||
"analyticsOptOut": {
|
||||
supportedLevels: ['device'],
|
||||
default: false,
|
||||
displayName: _td('Opt out of analytics'),
|
||||
},
|
||||
"autocompleteDelay": {
|
||||
supportedLevels: ['device'],
|
||||
default: 200,
|
||||
},
|
||||
"blacklistUnverifiedDevicesPerRoom": {
|
||||
// TODO: {Travis} Write a migration path to support blacklistUnverifiedDevices
|
||||
supportedLevels: ['device'],
|
||||
default: {},
|
||||
},
|
||||
"blacklistUnverifiedDevices": {
|
||||
// TODO: {Travis} Write a migration path to support blacklistUnverifiedDevices
|
||||
supportedLevels: ['device'],
|
||||
default: false,
|
||||
label: _td('Never send encrypted messages to unverified devices from this device'),
|
||||
}
|
||||
};
|
||||
|
||||
// Convert the above into simpler formats for the handlers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue