Use notify sound for reboot system messages
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user