Add device notifications enabled switch (#9324)

This commit is contained in:
Germain 2022-09-28 18:13:09 +01:00 committed by GitHub
parent 1a0dbbf192
commit e15ef9f3de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 251 additions and 31 deletions

View file

@ -790,6 +790,10 @@ export const SETTINGS: {[setting: string]: ISetting} = {
default: false,
controller: new NotificationsEnabledController(),
},
"deviceNotificationsEnabled": {
supportedLevels: [SettingLevel.DEVICE],
default: false,
},
"notificationSound": {
supportedLevels: LEVELS_ROOM_OR_ACCOUNT,
default: false,