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);