Decouple Audible notifications from Desktop notifications
This commit is contained in:
parent
d7229064c4
commit
c1e152dba2
3 changed files with 2 additions and 12 deletions
|
@ -79,12 +79,3 @@ export class NotificationBodyEnabledController extends SettingController {
|
|||
return calculatedValue;
|
||||
}
|
||||
}
|
||||
|
||||
export class AudioNotificationsEnabledController extends SettingController {
|
||||
public getValueOverride(level: SettingLevel, roomId: string, calculatedValue: any): any {
|
||||
if (!getNotifier().isPossible()) return false;
|
||||
|
||||
// Note: Audio notifications are *not* enabled by default.
|
||||
return calculatedValue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue