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

@@ -1686,11 +1686,10 @@ class SignalingServer:
return True
reboot_message = remainder if separator else ""
if not self._schedule_reboot(client.username or client.nickname, reboot_message):
await self._send(
client.websocket,
await self._broadcast(
BroadcastChatMessagePacket(
type="chat_message",
message="Server reboot already scheduled.",
message="Server reboot already in progress.",
system=True,
),
)