Draft idea for custom notification sounds

This commit is contained in:
the-djmaze 2023-12-05 16:18:36 +01:00
parent 5d6fb0c705
commit fa15ff6ba4
2 changed files with 4 additions and 0 deletions

View file

@ -822,6 +822,9 @@ class Actions
foreach (\glob(APP_VERSION_ROOT_PATH.'static/sounds/*.mp3') as $file) {
$aResult['newMailSounds'][] = \basename($file, '.mp3');
}
// foreach (\glob(APP_INDEX_ROOT_PATH.'notifications/*.mp3') as $file) {
// $aResult['newMailSounds'][] = 'custom@'.\basename($file, '.mp3');
// }
}
else {
if ($oConfig->Get('login', 'allow_languages_on_login', true) && $oConfig->Get('login', 'determine_user_language', true)) {