mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 08:46:15 +00:00
Decouple Audible notifications from Desktop notifications
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user