From 9cc6124f1821871aac3891de732cd46161e41142 Mon Sep 17 00:00:00 2001 From: Dimitriy Goloborodko <31506838+mitya12342@users.noreply.github.com> Date: Sat, 6 Jun 2026 20:06:02 +1000 Subject: [PATCH] Play notification sounds from the page ignoring Notification API support --- web/src/app/Notifier.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/app/Notifier.js b/web/src/app/Notifier.js index 1c58d23c..2a27bfc1 100644 --- a/web/src/app/Notifier.js +++ b/web/src/app/Notifier.js @@ -11,12 +11,12 @@ class Notifier { lastSoundPlayedAt = 0; async notify(subscription, notification) { + await this.playSound(); + if (!this.supported()) { return; } - await this.playSound(); - const shortUrl = topicShortUrl(subscription.baseUrl, subscription.topic); const defaultTitle = topicDisplayName(subscription);