Update badge logic for new setting and behaviour

For https://github.com/vector-im/riot-web/issues/14084
This commit is contained in:
Travis Ralston 2020-06-19 15:44:37 -06:00
parent 30d8dc06fc
commit eeb408a081
4 changed files with 57 additions and 8 deletions

View file

@ -188,6 +188,11 @@ export const SETTINGS = {
default: true,
invertedSettingName: 'MessageComposerInput.dontSuggestEmoji',
},
// TODO: Wire up appropriately to UI (FTUE notifications)
"Notifications.alwaysShowBadgeCounts": {
supportedLevels: LEVELS_ROOM_OR_ACCOUNT,
default: false,
},
"useCompactLayout": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td('Use compact timeline layout'),