Add default on config setting to control call button in composer

This adds a default on setting that can be used to control whether call buttons
are shown in the composer via `settingDefaults` in config.json. No UI is added
to control it for now.

Fixes https://github.com/vector-im/riot-web/issues/12758
This commit is contained in:
J. Ryan Stinnett 2020-03-17 11:33:10 +00:00
parent f5f433b347
commit 59b1cbd4b2
2 changed files with 18 additions and 3 deletions

View file

@ -517,4 +517,8 @@ export const SETTINGS = {
displayName: _td("How fast should messages be downloaded."),
default: 3000,
},
"showCallButtonsInComposer": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG,
default: true,
},
};