MM-53363 - Calls default sound should be Calm (#23876)

This commit is contained in:
Christopher Poile
2023-06-27 09:20:26 -04:00
committed by GitHub
parent e84eb900ff
commit 3f99b7618d
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ function getNotificationsStateFromProps(props: Props): State {
let sound: UserNotifyProps['desktop_sound'] = 'true';
let callsSound: UserNotifyProps['calls_desktop_sound'] = 'true';
let desktopNotificationSound: UserNotifyProps['desktop_notification_sound'] = 'Bing';
let callsNotificationSound: UserNotifyProps['calls_notification_sound'] = 'Dynamic';
let callsNotificationSound: UserNotifyProps['calls_notification_sound'] = 'Calm';
let comments: UserNotifyProps['comments'] = 'never';
let enableEmail: UserNotifyProps['email'] = 'true';
let pushActivity: UserNotifyProps['push'] = NotificationLevels.MENTION;

View File

@@ -97,7 +97,7 @@ export function stopTryNotificationRing() {
}
export function loopNotificationRing(name: string) {
const audio = new Audio(callsNotificationSounds.get(name) ?? callsNotificationSounds.get('Dynamic'));
const audio = new Audio(callsNotificationSounds.get(name) ?? callsNotificationSounds.get('Calm'));
audio.loop = true;
audio.play();
return audio;