mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-08 21:05:21 +00:00
Play notification sounds from the page ignoring Notification API support
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user