Use notify sound for reboot system messages

This commit is contained in:
Jage9
2026-02-27 19:19:44 -05:00
parent d522ba10a8
commit 71a190866d
2 changed files with 4 additions and 1 deletions

View File

@@ -883,6 +883,9 @@ function classifySystemMessageSound(message: string): keyof typeof SYSTEM_SOUND_
if (normalized.includes(' is now known as ') || normalized.startsWith('you are now known as ')) {
return 'notify';
}
if (normalized.startsWith('server rebooting in ') || normalized === 'server reboot already scheduled.') {
return 'notify';
}
return null;
}