Support a setting for allowed widgets

Hooking this setting up is left as a problem for a different issue.
This commit is contained in:
Travis Ralston 2019-10-29 14:35:35 -06:00
parent 28e0988325
commit 5af6d979c2
2 changed files with 18 additions and 0 deletions

View file

@ -283,6 +283,10 @@ export const SETTINGS = {
supportedLevels: ['account'],
default: true,
},
"allowedWidgets": {
supportedLevels: ['room-account'],
default: {}, // none allowed
},
"analyticsOptIn": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG,
displayName: _td('Send analytics data'),