Refine reboot notices and sounds for in-progress state

This commit is contained in:
Jage9
2026-02-27 19:23:09 -05:00
parent 71a190866d
commit ef5fa024c0
5 changed files with 47 additions and 5 deletions

View File

@@ -883,7 +883,7 @@ 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.') {
if (normalized.startsWith('server rebooting in ')) {
return 'notify';
}
return null;