refac
This commit is contained in:
@@ -489,7 +489,7 @@
|
|||||||
const displayTitle = title || $i18n.t('New Chat');
|
const displayTitle = title || $i18n.t('New Chat');
|
||||||
|
|
||||||
if (done) {
|
if (done) {
|
||||||
if ($settings?.notificationSoundAlways ?? false) {
|
if (($settings?.notificationSound ?? true) && ($settings?.notificationSoundAlways ?? false)) {
|
||||||
playingNotificationSound.set(true);
|
playingNotificationSound.set(true);
|
||||||
|
|
||||||
const audio = new Audio(`/audio/notification.mp3`);
|
const audio = new Audio(`/audio/notification.mp3`);
|
||||||
|
|||||||
Reference in New Issue
Block a user