mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Draft idea for custom notification sounds
This commit is contained in:
parent
5d6fb0c705
commit
fa15ff6ba4
2 changed files with 4 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ export const SMAudio = new class {
|
|||
if ('running' == audioCtx.state && (this.supportedMp3 || this.supportedOgg)) {
|
||||
notificator = notificator || createNewObject();
|
||||
if (notificator) {
|
||||
// SettingsGet('NotificationSound').startsWith('custom@')
|
||||
notificator.src = Links.staticLink('sounds/'
|
||||
+ SettingsGet('NotificationSound')
|
||||
+ (this.supportedMp3 ? '.mp3' : '.ogg'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue