Add Favoriten menu, Away/AFK status, and mic/output mute toggles

Implements the real TS3 client's Favoriten menu (add/manage/list, with a
FavoritesDialog), the toolbar Away/AFK dropdown with saved presets and an
AwayDialog, plus input/output mute toggle buttons on the toolbar. Reorders
the toolbar to AFK -> Mic -> Speaker -> Theme and removes the standalone
Connect button in favor of the Verbindungen menu.
This commit is contained in:
Moepchi committed 2026-07-29 17:24:56 +02:00
1 parent 53e2887e14
commit 3715a52de6
5 files changed
+824 -44

No files matched your search

+12
View File
@@ -51,6 +51,18 @@ wss.on("connection", (socket: WebSocket) => {
await connection?.sendAudio(msg.pcm);
break;
}
case "setAway": {
await connection?.setAway(msg.away, msg.message ?? "");
break;
}
case "setInputMuted": {
await connection?.setInputMuted(msg.muted);
break;
}
case "setOutputMuted": {
await connection?.setOutputMuted(msg.muted);
break;
}
default:
socket.send(
JSON.stringify({ type: "error", message: `Unknown message type: ${msg.type}` })