From 3f99b7618de2efe9b81b463d3e6de2b77311d7d9 Mon Sep 17 00:00:00 2001 From: Christopher Poile Date: Tue, 27 Jun 2023 09:20:26 -0400 Subject: [PATCH] MM-53363 - Calls default sound should be Calm (#23876) --- .../user_settings/notifications/user_settings_notifications.tsx | 2 +- webapp/channels/src/utils/notification_sounds.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/channels/src/components/user_settings/notifications/user_settings_notifications.tsx b/webapp/channels/src/components/user_settings/notifications/user_settings_notifications.tsx index 2e27d2b7b7..17ff55b565 100644 --- a/webapp/channels/src/components/user_settings/notifications/user_settings_notifications.tsx +++ b/webapp/channels/src/components/user_settings/notifications/user_settings_notifications.tsx @@ -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; diff --git a/webapp/channels/src/utils/notification_sounds.ts b/webapp/channels/src/utils/notification_sounds.ts index 5fb65a0377..c3ec8ee5c6 100644 --- a/webapp/channels/src/utils/notification_sounds.ts +++ b/webapp/channels/src/utils/notification_sounds.ts @@ -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;